askdesign
5/26/2015 - 9:58 PM

12.2.13 - Cache Optimization

Various Options

• w3 total cache 
Used these Settings and page speed improved, but got 4 errors (css & js default files): http://zemalf.com/1443/w3-total-cache/

Finally found a very straight-forward solution, without any plug-ins. I de-activated WT3Cache and pasted the
code at the top of my .htaccess file for the blog. Page speed went from 48 to 68, and no more errors.

http://thomasgriffinmedia.com/blog/2010/11/how-to-leverage-browser-caching-in-wordpress-via-htaccess/
Open up your .htaccess file and paste in the following directives at the top of the file:

           	
## 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 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 ##


• W3 Total Cache settings:
http://webloggerz.com/w3-total-cache-settings-configure-optimize/
http://wpwire.net/wordpress-tutorials/increase-wordpress-speed-tried-tested-hundred-sites/

In my Options file, change default value of gzipcompression from 0 to 1:
http://www.askdesign.biz/blog/wp-admin/options.php

In Cpanel, go to Software/Services and click on Optimize website.
Select "Compress all content".

http://www.copyblogger.com/make-wordpress-faster/