Increased my site speed and rating about 20%. On other sites with heavy CSS and JS it did better.
I also use .htaccess code to gzip/zip thes file types js/css/txt/html which boosted the response time further.
Furthermore, add caching and you’ll have a site that will be more responsive.
Here’s my secret code that doubles up the gains.
# the server needs to support compression
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
# Turn on Expires and set default expires to 3 days
# Set up caching on media files for 1 week
Header append Cache-Control “public”
# Set up 2 days caching on commonly updated files
Header append Cache-Control “private, must-revalidate”
- The topic ‘It really does work’ is closed to new replies.