Current time: 11-13-2019, 12:05 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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.
Find all posts by this user
Quote this message in a reply
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?
Find all posts by this user
Quote this message in a reply
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.
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: 1 Guest(s)