Optimize WordPress for Page Speed YSlow and Zoompf

Here are some optimization techniques to optimize your WordPress site for Google Page Speed 1.10.2, Yahoo YSlow 2.1.0, and Zoompf. I installed a completely new WordPress 3.1 site with no plugins and using the default Twenty Ten theme. Here are the relevant scores on a fresh install: Test Score Page Speed 87 YSlow 93 Zoompf 49 Edit your .htaccess file by adding the following: [sourcecode language=“html”] Header unset ETag FileETag None ExpiresActive on ExpiresByType image/jpeg “access plus 6 months” ExpiresByType image/png “access plus 6 months” ExpiresByType image/gif “access plus 6 months” ExpiresByType image/x-icon “access plus 6 months” ExpiresByType text/css “access plus 6 months” ExpiresByType application/javascript “access plus 6 months” ExpiresByType application/x-javascript “access plus 6 months” AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/javascript application/x-javascript [/sourcecode] In your /wp-content/themes/twentyten/header....

February 24, 2011

WordPress nginx proxy cache

If you are running WordPress on a VPS or dedicated server, you may want to install the nginx HTTP server to act as a proxy cache for WordPress. This is a guide for building nginx from source so that 2 modules can be added. The first module allows purging content from the proxy cache and the second module allows limiting the max concurrent requests to apache. This guide assumes you are running:...

October 5, 2010