"FAILED - (No max-age or expires)" - for homepage, index page?
|
10-17-2014, 07:55 AM
(This post was last modified: 10-17-2014 07:58 AM by postcd.)
Post: #1
|
|||
|
|||
"FAILED - (No max-age or expires)" - for homepage, index page?
Hi,
it appears i have all basic webpage elements cached using "Cache-Control max-age" but webpagetest.org returns only one that is "bad"? Quote:FAILED - (No max-age or expires) - http://mydomain.com/ Current rules: Code: # 1 YEAR So which rule i may add to cache that homepage please? |
|||
10-24-2014, 03:27 AM
Post: #2
|
|||
|
|||
RE: "FAILED - (No max-age or expires)" - for homepage, index page?
You probably don't want to cache the home page. WebPagetest is only checking it because there is no header indicating it shouldn't be cached (pragma: no-cache, etc).
Is the home page an index.html or index.php file? I'm not sure if the FilesMatch directive works for serving the default files (where the file name isn't on the URL). |
|||
10-24-2014, 06:27 AM
Post: #3
|
|||
|
|||
RE: "FAILED - (No max-age or expires)" - for homepage, index page?
thx, my pages are all php.. it is a vbulletin forum similar to example http://internetlifeforum.com
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)