W3 Total Cache and Leverage Browser Caching
-
Hello,
I pasted in the following directives in my .htaccess file in the root directory…
Header unset Pragma
FileETag None
Header unset ETag## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg “access 1 year”
ExpiresByType image/jpeg “access 1 year”
ExpiresByType image/gif “access 1 year”
ExpiresByType image/png “access 1 year”
ExpiresByType text/css “access 1 month”
ExpiresByType text/html “access 1 month”
ExpiresByType application/pdf “access 1 month”
ExpiresByType text/x-javascript “access 1 month”
ExpiresByType application/x-shockwave-flash “access 1 month”
ExpiresByType image/x-icon “access 1 year”
ExpiresDefault “access 2 days”
</IfModule>
## EXPIRES CACHING ##<FilesMatch “\\.(js|css|html|htm|php|xml)$”>
SetOutputFilter DEFLATE
</FilesMatch><IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>However, I’m still seeing the following Leverage Browser Caching issues…
Semiologic Theme…
https://internettvdotcom.com/wp-content/themes/sem-reloaded/skins/kubrick-teal/images/header.jpg (4 hours)
https://internettvdotcom.com/wp-content/themes/sem-reloaded/skins/kubrick-teal/images/wrapper.jpg (4 hours)
https://internettvdotcom.com/wp-content/themes/sem-reloaded/skins/kubrick-teal/images/wrapper_widget.jpg (4 hours)
https://internettvdotcom.com/wp-content/themes/sem-reloaded/skins/kubrick-teal/mmm-inline_boxes.gif (4 hours)Outside Sources…
https://cdn.syndication.twitter.com/…com.com%2F&callback=__twttr.receiveCount (15 minutes)
https://platform.twitter.com/widgets.js?_=1425484799026 (30 minutes)
https://apis.google.com/js/api.js (30 minutes)
https://apis.google.com/js/plusone.js?_=1425484799027 (30 minutes)
https://resources.infolinks.com/js/infolinks_main.js (60 minutes)
https://oauth.googleusercontent.com/…e:rpc:shindig.random:shindig.sha1.js?c=2 (60 minutes)
https://stats.g.doubleclick.net/dc.js (2 hours)Clouldflare…
https://cdn.internettvdotcom.com/wp-content/themes/sem-reloaded/icons/pixel.gif (4 hours)
https://cdn.internettvdotcom.com/wp-content/uploads/2011/09/4ComedyCentral.jpg (4 hours)
https://cdn.internettvdotcom.com/wp-content/uploads/2011/09/InternetTvBlog.png (4 hours)
https://cdn.internettvdotcom.com/wp-content/uploads/2011/09/InternetTvDotComLogo2b-150×150.png (4 hours)https://internettvdotcom.com/wp-content/uploads/2011/01/silicon-canvas.jpg (4 hours)
I understand there’s nothing I can do about ‘Outside Sources’. I removed some of them by removing some plugins that made that list much longer and that increased the “Leverage browser caching” F grade to E (59).
Any suggestions to improve that E grade would be greatly appreciated.
- The topic ‘W3 Total Cache and Leverage Browser Caching’ is closed to new replies.