I'm having some search cache issues with the latest versions of Firefox, in which Firefox incorrectly caches the "new posts" search URL - http://www.example.com/forum/search....e=vBForum_Post - and keeps returning the user to an old search results page that ultimately expires. Once the page expires it will tell a forum user that there are no new posts, no matter how many new posts have in fact been made. The "fix" is to clear the cache in Firefox, at which point Firefox will stop redirecting to the old search results page and produce new search results.
(The URL above is exemplified, and is presented as an example, not a clickable link.)
This is a Firefox problem, you say? (And possibly also a problem in IE 9?) I would tend to agree. But apparently Mozilla disagrees.
(The URL above is exemplified, and is presented as an example, not a clickable link.)
This is a Firefox problem, you say? (And possibly also a problem in IE 9?) I would tend to agree. But apparently Mozilla disagrees.
I reported this in Bugzilla, and Mozilla have marked it as a won't fix. Their take on this is that our test code is sending an incorrect cache-control header.
Cache-Control: private, max-age=10800, pre-check=10800
The above header is telling Firefox that it can cache the redirect. It is being sent automatically by PHP in this case. What we need to to do is stop PHP from sending this header, and instead send:
Cache-Control: private, max-age=10800, pre-check=10800
Cache-Control: no-cache
That's not an example of a vBulletin cache-control header, but the issue appears to be analogous.
Comment