WebPagetest Forums

Full Version: Cache static content FAILED (No max-age or expires)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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

<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

i have being reading some other posts withthe same problem but can
figure out exactly what to change.
Could you post the site URL or a link to one of the WPT tests you ran?
You may have that code in your htaccess but make sure your expires module is enabled in your server.
Reference URL's