A fast and responsive site can make a lot of difference to the user experience. Also with Google considering page speed as one of the metric in ranking pages, website optimization can no longer be ignored. Yeah, I hear you, you already know that, that’s why you are using the fastest loading WordPress theme SwiftPremium.
SwiftPremium by default gives you 80+ page speed score, with a few tweaks you can push it to 90+. Lets see what those tweaks are
2. Mercilessly remove all the unwanted plugins, use only plugins be reputed developers.
3. Remove ad and tracking scripts from cheap ad networks and analytic sites.
Finally add the following code at the end of .htaccess file in your blog root. This code will compress your pages and set the expiration time for static files to a large value, so that they are cached on your reader’s browser. If you have regular visitors to your blog, they will notice a great improvement in your blog speed.
Caution, make these changes only after you have tweaked the site deign to your liking.
<code>### BEGIN .htaccess
# Protect the htaccess file
Deny from all
# Protect wpconfig.php
Deny from all
# Disable directory browsing
Options All -Indexes
# BEGIN COMPRESSION AND CACHING
# Enable compression
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4\.0 no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html
# Make sure proxies deliver correct content
Header append Vary User-Agent env=!dont-vary
# Ensure proxies deliver compressed content correctly
Header append Vary Accept-Encoding
# No ETags, No Pragma
Header unset Pragma
Header unset ETag
# Default cache time to 1 year (31536000 sec)
Header set Cache-Control "max-age=31536000, public, must-revalidate"
# No ETags
# CACHE SETTINGS (mod_expires)
# Turn on Expires
# set default to "access plus 1 year"
# html - "modification plus 1 hour"
ExpiresByType text/html M3600
ExpiresByType text/css M3628800
# No cache for php-files
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
# END CACHING
# W3 Total Cache are here (automatically included by the plugin):
# WordPress Default Rules are here (at the end of the file):
### END .htaccess</code>
Above .htaccess rules are taken from Zemalf.com, visit their site for more details
If you want the optimization to be done by experts, you can hire us for 49$
* If you don’t get 90+ Google page speed score, your payment will be refunded.