Current time: 12-01-2020, 10:40 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Base html file receives red x mark for 'Cache Static Content'
10-27-2011, 10:26 PM
Post: #2
RE: Base html file receives red x mark for 'Cache Static Content'
Yeah, good catch :-) I updated the caching logic to be a lot more explicit. It used to not check html and a couple of other mime types and it used to give an automatic pass to anything that had an expires header, regardless of the time.

The new logic (should) decode the date, expires, age and cache control headers and calculates the actual TTL for every resource. The only resources that are ignored are:
- no-cache (pragma or cache-control)
- negative expires time (usually set for explicitly dynamic content)
- app manifest files

I would expect your HTML to have a negative expires time or explicitly be set to not cache. Can you shoot a sample test over for me to look at?

I made the change (and was planning on talking about it tomorrow) because there were a good number of sites that were setting text/html for all kinds of content (javascript, images, all sorts of crazy stuff).
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Base html file receives red x mark for 'Cache Static Content' - pmeenan - 10-27-2011 10:26 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)