MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
Keep failing cache test
Current time: 06-07-2020, 08:22 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Keep failing cache test
10-10-2014, 12:39 AM
Post: #1
Keep failing cache test
I keep failing the cache test here with every site I try (although some of them are scoring 100% on pingdom tools). Here is the htaccess code I'm currently using:
Code:
Header unset FileETag
FileETag none
<IfModule mod_expires.c>
<IfModule mod_headers.c>
     ExpiresActive On
     ExpiresDefault  "access plus 1 month"
     ExpiresByType image/x-icon  "access plus 1 year"
     ExpiresByType image/gif  "access plus 1 month"
     ExpiresByType image/png  "access plus 1 month"
     ExpiresByType image/jpg  "access plus 1 month"
     ExpiresByType image/jpeg  "access plus 1 month"
     ExpiresByType text/css  "access plus 4 hour"  
     ExpiresByType application/javascript "access plus 1 year"  
     <FilesMatch  \.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$ >
          ExpiresDefault "access plus 3 month"
          Header append Cache-Control  public
     </FilesMatch>
     <FilesMatch  \.(gif|jpg|jpeg|png|swf)$ >
        ExpiresDefault a3019200
          Header append Cache-Control  public
     </FilesMatch>
     <FilesMatch  \.(xml|txt|html|js|css)$ >
          Header append Cache-Control  proxy-revalidate
     </FilesMatch>
     <FilesMatch  \.(php|cgi|pl|htm)$ >
          ExpiresActive Off
          Header set Cache-Control= no-cache
          Header set Pragma  no-cache
     </FilesMatch>
</IfModule>
</IfModule>
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Keep failing cache test - Andy5000 - 10-10-2014 12:39 AM
RE: Keep failing cache test - andydavies - 10-10-2014, 11:58 PM
RE: Keep failing cache test - Andy5000 - 10-11-2014, 12:39 AM
RE: Keep failing cache test - andydavies - 10-11-2014, 04:30 AM
RE: Keep failing cache test - pmeenan - 10-11-2014, 04:35 AM
RE: Keep failing cache test - Andy5000 - 10-11-2014, 04:52 AM

Forum Jump:


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