开发者

Response Header Last-Modified not updating

开发者 https://www.devze.com 2023-04-01 04:05 出处:网络
I\'m having a caching issue with my site. I make a change to the js file and publish it to my development environment (unminified at the moment for testing). And I get the stale version of my file.

I'm having a caching issue with my site. I make a change to the js file and publish it to my development environment (unminified at the moment for testing). And I get the stale version of my file.

开发者_StackOverflow社区If I use the Page Speed plugin for Firebug I can see that inside the Response Header for that particular JS file the Last-Modified date says yesterday's date not today's datetime as I might expect.

Also just out of curiousity what is the "Date" field just after the "X-Powered-By"?

Thanks!

Response Header Last-Modified not updating


The Date header is the date and time that the response was sent (From Wikipedia).

I hate answering a question with a question, but is it possible you have a caching firewall between you and the web server?

0

精彩评论

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

关注公众号