Timeline for Avoid caching by creating photo names that contain unique identifiers?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 13, 2015 at 18:08 | history | edited | Jim | CC BY-SA 3.0 |
Changed title
|
Oct 13, 2015 at 18:07 | vote | accept | Jim | ||
Oct 13, 2015 at 10:57 | history | edited | Sathiya Kumar V M | CC BY-SA 3.0 |
Formatting, added a tag
|
Oct 13, 2015 at 3:39 | answer | added | Holland Wilson | timeline score: 1 | |
Oct 13, 2015 at 3:33 | comment | added | Holland Wilson | I didn't find it unclear, after reading the entire question. The question also has the "cache" and "browsers" tags. | |
Oct 13, 2015 at 3:16 | answer | added | Mike -- No longer here | timeline score: 1 | |
Oct 12, 2015 at 21:10 | comment | added | Mike Hudson | I suggest the title and intro paragraph be edited to remove the confusion about your focus on caching as it was only the comments that made it clear. | |
Oct 12, 2015 at 17:26 | history | edited | Jim | CC BY-SA 3.0 |
Added new details and tag
|
Oct 12, 2015 at 17:11 | comment | added | closetnoc | They should since, in a very real effect, they are web servers too. How browsers handle it is a different matter. We have experts here on CDNs and browsers. So I am sure there is an answer coming! I will up-vote the Q to help get you some attention. | |
Oct 12, 2015 at 17:06 | comment | added | Jim | Thanks. I should add that ultimately I plan to store users' photos on a CDN such as Akamai or Amazon Cloudfront so I'm wondering if the CDN will notice when a photo file has changed and always serve user's the latest version. | |
Oct 12, 2015 at 17:04 | comment | added | closetnoc | Gotcha!! Ok. I am not as sure about caching as much as I like. I used to know this stuff cold when I was working (retired). I think it would depend on where the caching takes place. If on the web server, I would assume that the modification date would change and the new image would appear. In web browser or using a 3rd party cache, that may not happen. Some proxy caches do make head requests periodically to check the original resource. Which ones? I have no idea. I seem to remember that I had to manage cache times in hardware sometimes. | |
Oct 12, 2015 at 16:55 | comment | added | Jim | This is true but my real question is about caching. If you give a photo a particular name and then give a different photo that same name, will the browser display the old photo from its cache since both the new and old photos have the same name. If so, then it would seem like a good idea to always give photos unique names to avoid this cache confusion. Sorry if this seems like a stupid question but I'm still learning. | |
Oct 12, 2015 at 16:51 | comment | added | closetnoc | This sounds like a programming concern. I would make it as simple as you can for the user and as flexible as you can for your needs. However, from a search perspective, it is always better that the file name describe the photo. Otherwise, the file name does not matter, as long as you and the user can manage it appropriately. I guess it would depend upon your ability to code. | |
Oct 12, 2015 at 16:43 | review | First posts | |||
Oct 12, 2015 at 16:47 | |||||
Oct 12, 2015 at 16:40 | history | asked | Jim | CC BY-SA 3.0 |