How long does Google Chrome cache a resource if expires and/or no-cache headers are not set?
- 阅读更多 关于 How long does Google Chrome cache a resource if expires and/or no-cache headers are not set?
问题 We have been having a problem with Chrome caching a resource on our Glassfish server. The expires and no-cache headers are not being sent and the resource (an approximately 4 MB SWF file) is being cached by Chrome -- despite the presence of the Last-Modified header. Sometimes Chrome will get a 304 code, and other times it simply does a 200 (from cache). I understand the 304 -- Chrome is likely checking the most recent Last-Modified date with the cached version to decide. But other times it