PageSpeed Increase of 80%

If you’re getting messages to « Eliminate render-blocking JavaScript and CSS in above-the-fold content » or « Leverage browser caching » using Google PageSpeed Insights, here’s a quick fix.

It takes less than five minutes and you can see improvements of over 80%. I am not a programmer (not smart enough) and have done this on numerous WordPress sites with speed increases each time.

It involves two steps:
1. Move Javascript and CSS scripts from the header to the footer. This is easily done using a WordPress plugin.

2. Include a small piece of code in your .htaccess file for browser caching.

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"




View more posts from this author
One thought on “PageSpeed Increase of 80%

Laisser un commentaire

Votre adresse de messagerie ne sera pas publiée. Les champs obligatoires sont indiqués avec *