Can I make web browsers refresh the cache if it's older than a specified date?
-
I've got new navigation images, with the same file names as the old ones. I want to be sure that users pull the new images from the server, rather than showing cached ones. I don't want to completely turn off caching, though, since I've got a lot of rollovers. Is there any way (perhaps an http header) to have browsers refresh cached files only if they're older than a specified date? Thanks!
-
Answer:
I don't believe you can simply force browsers to refresh their cache. You can specify how long something lives in the cache when its first downloaded using the Expires header field, but its too late for you to do that now. The only viable solution is to rename the images, or the entire directory structure if that's simpler.
Chris W at Yahoo! Answers Visit the source
Related Q & A:
- How can I make a dynamic web page in PHP?Best solution by Yahoo! Answers
- I have a blog how can I make money with it.Best solution by Yahoo! Answers
- How can I make a myspace comment into a picture caption?Best solution by Yahoo! Answers
- How can I make a mini Roller Coaster, that's fuctional?Best solution by youtube.com
- How can i make my facebook friend's list private?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.