Current time: 11-25-2020, 10:02 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to compress pages without an extension?
09-05-2013, 01:56 AM
Post: #2
RE: how to compress pages without an extension?
Do you have a link to your test result? It sounds like you are just serving a mostly static file and don't have any explicit caching headers on the response. It can be solved with an expires directive in your .htaccess (depending on server being used).

If you don't want the HTML to be cached by the browser you can set it to private and no-cache. Otherwise if you want to let it be cached for some period of time, just specify how long you want it to be cached for. By not specifying anything, different browsers are going to apply different heuristics.

I also wouldn't fret about the ding in the optimization checking for that either. It's mostly for static images and page content so a full 30-days probably won't make sense for HTML anyway.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: how to compress pages without an extension? - pmeenan - 09-05-2013 01:56 AM

Forum Jump:

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