<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Add cache header to profile picture]]></title><description><![CDATA[<p dir="auto">I've noticed that the profile avatar picture from /api/v1/profile/avatar/... does not return a cache-control header. Could we add one so the browser will cache it?</p>
<p dir="auto">I guess duration could be discussed, not sure if the url would change if picture changes. If so I guess we could choose a long cache duration.</p>
]]></description><link>https://forum.cloudron.io/topic/13672/add-cache-header-to-profile-picture</link><generator>RSS for Node</generator><lastBuildDate>Tue, 14 Apr 2026 21:30:07 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/13672.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 20 Apr 2025 09:58:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Add cache header to profile picture on Mon, 21 Apr 2025 08:36:34 GMT]]></title><description><![CDATA[<p dir="auto">Currently, the URL is fixed which makes it hard to cache when avatar changes and the browser. However since the profile avatar is not a public route, we could look into having that delivered by the backend dynamically based on some hash. That might be a good idea, then we can set the cache to forever basically.</p>
]]></description><link>https://forum.cloudron.io/post/106015</link><guid isPermaLink="true">https://forum.cloudron.io/post/106015</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 21 Apr 2025 08:36:34 GMT</pubDate></item><item><title><![CDATA[Reply to Add cache header to profile picture on Sun, 20 Apr 2025 11:56:00 GMT]]></title><description><![CDATA[<p dir="auto">30 days sounds good to me.</p>
]]></description><link>https://forum.cloudron.io/post/106000</link><guid isPermaLink="true">https://forum.cloudron.io/post/106000</guid><dc:creator><![CDATA[klawitterb]]></dc:creator><pubDate>Sun, 20 Apr 2025 11:56:00 GMT</pubDate></item><item><title><![CDATA[Reply to Add cache header to profile picture on Sun, 20 Apr 2025 09:59:46 GMT]]></title><description><![CDATA[<p dir="auto">What cache time do you suggest?<br />
Imo 14 days or even 30 days is okay.</p>
]]></description><link>https://forum.cloudron.io/post/105996</link><guid isPermaLink="true">https://forum.cloudron.io/post/105996</guid><dc:creator><![CDATA[BrutalBirdie]]></dc:creator><pubDate>Sun, 20 Apr 2025 09:59:46 GMT</pubDate></item></channel></rss>