Cache static content FAILED (No max-age or expires)
|
01-09-2016, 11:12 PM
Post: #1
|
|||
|
|||
Cache static content FAILED (No max-age or expires)
Hi there folks,
everything checks out except - Cache static content: Leverage browser caching of static assets: 0/100 FAILED - (No max-age or expires) - http://myapp2.gethisapp.com/img/speed2.jpg FAILED - (No max-age or expires) - http://myapp2.gethisapp.com/favicon.ico FAILED - (No max-age or expires) - http://myapp2.gethisapp.com/img/s2.png FAILED - (No max-age or expires) - http://myapp2.gethisapp.com/index.css FAILED - (No max-age or expires) - http://myapp2.gethisapp.com/boilerplate.css FAILED - (No max-age or expires) - http://myapp2.gethisapp.com/ i have used the htaccess file in a tutorial, it worked but the Cache static content remains with this problem, here's the config: <ifmodule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </ifmodule> <IfModule mod_expires.c> ExpiresActive On ExpiresByType application/javascript A604800 ExpiresByType application/x-javascript A604800 ExpiresByType text/javascript A604800 ExpiresByType text/css A604800 ExpiresByType image/gif A604800 ExpiresByType image/x-icon A604800 ExpiresByType image/icon A604800 ExpiresByType image/jpg A604800 ExpiresByType image/jpeg A604800 ExpiresByType image/png A604800 </IfModule> i have being reading some other posts withthe same problem but can figure out exactly what to change. |
|||
01-12-2016, 12:56 PM
Post: #2
|
|||
|
|||
RE: Cache static content FAILED (No max-age or expires)
Could you post the site URL or a link to one of the WPT tests you ran?
|
|||
01-14-2016, 03:36 AM
(This post was last modified: 03-21-2018 06:44 AM by avalanch.)
Post: #3
|
|||
|
|||
RE: Cache static content FAILED (No max-age or expires)
You may have that code in your htaccess but make sure your expires module is enabled in your server.
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)