Current time: 12-06-2019, 08:28 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:46 AM
Post: #1
how to compress pages without an extension?
By that I mean pages like this:
http://www.odysseyofhyrule.com/

Obviously it loads http://www.odysseyofhyrule.com/index.html but every time I run the test for the original url above it says that page failed to cache.. how to fix?
Visit this user's website Find all posts by this user
Quote this message in a reply
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
09-05-2013, 02:09 AM
Post: #3
RE: how to compress pages without an extension?
This is the test result and the site is mainly a little bit of js & the rest is images & html.
http://www.webpagetest.org/performance_o...1&cached=0

but yeah on that site the content wont be changed at all... it's in archive mode indefinitely
It just always caught my attention.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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