Results 1 to 6 of 6
Thread: How can I force a cache refresh?
Mar 15th, 2002, 07:55 PM #1
How can I force a cache refresh?
Mar 18th, 2002, 02:27 AM #2
META HTTP-EQUIV=Pragme CONTENT=no-cache
will get the browser to download the page as it instructs the browser to ignore what it might have in it's cache.
I know you can force a refresh to cache in ASP.
Mar 18th, 2002, 07:16 PM #3
But are you sure that's the right syntax?
I've seen it listed differently such as:
<meta http-equiv="pragma" content="nocache">
Mar 19th, 2002, 03:13 AM #4
No, I'm not sure I've got it spot on. Your example looks much more like how it should be. I did look it up so I would get it right but I couldn't find it/didn't try hard enough
Infact there has been a cycle over the last four years now, every few months I have to look it up again because I just can't remeber the exact syntax.
You can also play with the cache settings on the server to try and make sure visitors always download the latest page.
Mar 26th, 2002, 03:22 AM #5
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<META HTTP-EQUIV="Pragma-directive" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Directive" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="0">
If you have the ability to use any scripting language (PHP/ASP/CF/etc.) one of the most effective things you can do is implement a "cache-killer" by appending a variable (i.e. &ck=) with a random number (or unix epoch timestamp) to the end of the URL.
Any time we must have a non-cache copy (dynamic PDFs for financial forms, etc) we use this method.JEFF STANDEN, Project Manager :: WebGroup Media LLC.
Cerberus Helpdesk 2.4.0 -- Take Control of your Company Inbox!
Combat Spam. Improve Response Times. Share Knowledge.
Nov 10th, 2008, 05:06 AM #6Registered User
- Join Date
- Oct 2008
By ToddW in forum Web Hosting - Questions & AnswersReplies: 0Last Post: Feb 5th, 2004, 02:42 PM
By 4web-space in forum Web Hosting - Questions & AnswersReplies: 0Last Post: Nov 23rd, 2002, 05:35 AM
By Nicola in forum Website Development & ScriptingReplies: 12Last Post: Oct 11th, 2001, 08:14 AM
By tamba in forum Website Design & GraphicsReplies: 2Last Post: Oct 10th, 2001, 09:19 AM