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