开发者

ajax cache problem in firefox 4

开发者 https://www.devze.com 2023-03-12 20:00 出处:网络
For some reason Firefox 4 is not updating ajax content. It seems to store cache until t开发者_StackOverflowhe cache is manually removed. I am using must-revalidate headers and each request sends an ex

For some reason Firefox 4 is not updating ajax content. It seems to store cache until t开发者_StackOverflowhe cache is manually removed. I am using must-revalidate headers and each request sends an expired time, so what can be causing this issue?


Some debugging revealed that firefox doesn't do actual requests if an expire time is set in the future.

It'll only start doing requests when the expire time is in the past. This means that the usual manner of getting 304's doesn't work because they never actually get requested.

0

精彩评论

暂无评论...
验证码 换一张
取 消