Skip to main content
November 14, 2008
Question

browser cache ignore no longer works after windows update

  • November 14, 2008
  • 1 reply
  • 354 views
Just thought I'd share that after the windows update I did this week, the browser cache blocking trick described in many places where you put ?r=<randomnumber> at the end of a URL no longer works. Not exactly sure what happened, but it now causes a URL not found error, at least for me when I'm loading local files off my disk.

This thread talks about the cache blocking trick:

http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=665&threadid=1357763&highlight_key=y&keyword1=cache
This topic has been closed for replies.

1 reply

Damon Edwards
Inspiring
November 14, 2008
Here's a technique I use. In a php file:

header("Expires: Mon, 20 Jul 1997 05:00:00 GMT");
header("Cache-Control: no-store, no-cache, must-revalidate");
header("Cache-Control: post-check=0, pre-check=0", FALSE);
header("Pragma: no-cache");

This must be wrapped in php tags.