How to get 90+ google page speed with SwiftPremium.

Swift Premium beats Google in page speed scoreA 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

  1. Get a proper web hosting package from reputed sellers. When you have good hosting your pages are served fast. We recommend HostGator for shared hosting, and LiquidWeb for VPS / Dedicated servers.
  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.
  4. When ever possible use asynchronous scripts. ( Like google analytics and typekit provide asynchronous counter parts )
  5. Install a caching and minify plugin. We recommend using W3 Total Cache, w3tc includes minify along with several optimisations.
  6. Setup a CDN ( Content Delivery Network ), CDN will catch-all your statics files like, images, css, javascripts so that the number http requests to your server are reduced and thus reducing the load on server. You can try SpeedyMirror a free CDN offering 50GB free bandwidth till you are ready to paid CDN.

Step by step guide to configure w3tc with Swift

First goto general settings of w3tc and enable the following

  • Page cache
  • Minify (Select aut0)
  • Database cache
  • Object cache
  • Browser cache
  • CDN ( This is not covered in tho tutorial)
  • Varnish if you have a high traffic site and know what you are doing.

[box type=”danger” size=”large” style=”info”]

select disk enhanced if you are on a shared host. If you are on a dedicated hoisting select APC or Memcahce. If they are blacked out, ask your hosting support install one of them.


Page cache

Check the following options

  • Cache front page
  • Cache feeds: site, categories, tags, comments
  • Cache SSL (https) requests
  • Cache requests only for site address
  • Don’t cache pages for logged in users. ( Check this if you are running a commerce site )
  • Don’t cache pages for following user roles, select Administrator, Editor,  Author and Contributor

Do not cache 404 page as google will penalise your site for giving wrong response code.

Set it to automatically prime the cache and set the update interval to 900 seconds. You can half the value if you have a huge server.

Leave other settings as defaults.

W3TC Page Cache Settings
W3TC Page Cache Settings
W3TC Page Cache Advanced Settings
W3TC Page Cache Advanced Settings


  • Enable rewrite url structure.
  • Enable HTML and XML minification. Check all options except for Don’t minify feeds.
  • Enable JS minification, and make sure to select embed type as non-blocking using defer or async
  • Enable CSS minification and check all except for “combine only”
  • Set @import handling to process.

Leave the advanced options at their defaults.

W3TC HTML Minify Settings
W3TC HTML Minify Settings
W3TC CSS Minify Settings
W3TC CSS Minify Settings
W3TC JS Minify Settings
W3TC JS Minify Settings

Object and Database Cache:

Use the default values for these two sections.

Browser Cache

Though there are lot of options,this section is pretty simple. Check all options and set Expires header lifetime to 31536000 seconds ( 1year) for CSS & JS, Media & Other files set it to 3600 seconds for HTML and XML

User Agent Groups and Referrer Groups

Swift automatically handles the user ager groups and tells w3tc to maintain sperate page caches for mobiles, tablets and desktops.

Referrer groups are for advanced users, if you you have the need to use them, than you probably know how to use them. In case if you don’t know drop me an email.


Configuring CDN is for another post.

Following the above guide, Swift v7 got a score of 91 & 97 for mobiles and desktops respectively.
Following the above guide, Swift v7 got a score of 91 & 97 for mobiles and desktops respectively.

If you want the optimization to be done by experts, you can hire us for 74$

* If you don’t get 90+ Google page speed score, your payment will be refunded.

44 Replies to “How to get 90+ google page speed with SwiftPremium.”

  1. Buddy you will be able to load the blog by switching your blog to litespeed type hosting,this was my experience.No need to use any CDN with litespeed hosting.

  2. I don”t have credit card, so I don’t have paypal acount , so i can’t buy premium version , what must be I do know 🙂 , oes this theme works well although free version, only some main features reduced? thank

  3. I try to your tutorials, but when i combine W 3 Total cache with WP Minify my site doesn’t appears.,then i deactive wp minify and i get score 87 for page speed..

  4. Please, how can I get three columns on my blog site if I use the free swift theme? I mean left sidebar on the left, post area at the centre and right sidebar on the right side of the site.

  5. I have used all the recommended plugins but have not set-up CDN. I did not add the .htaccess. My page score is 85. Please feel free to check my blog and leave comments on how to improve it. Thanks much for your great help!

  6. Where do i add that .htaccess file in my wordpress ? Should i paste that whole .htaccess file as it is or i had to make some changes ? Should i use both cache plugins, total cache and super cache , as i am using super cache plugins, i think installing both might will effect on blog.

    1. Hey Harsh, you have to add tht .htaccess in ur website folder & tht code inside .htaccess file. But check the site is working or not after you add tht file.. coz not all .htaccess code are applicable to site. it may lead to close the site too.

  7. A very nice theme for SEO, and I have check the load time and it is excellent.

    My only concern is how easy, or hard, is it to add AdSense modules?

    And one more question can the side bar be moved to the left with only posts and ads in the center and the left?

    And how difficult will it be to place a banner in the header?

    I checked out several of the sites using this theme and did not see any of these items.

    Would I have to make major modifications to the coding to be able to do these things?

    Thanks for your time. I know that these are multiple questions but I really like the fact that this loads fast. I also know that the more advertising that I add will slow down the loading time but I do want some in critical placement on the theme.

    Thanks again

  8. Thanks Satish bro. I am working for the customization of free version on localhost. Once I get my design I will make it live on

  9. Changing to swift theme allows my website to load in 3 seconds! A big change from the 30 seconds it used to take when I was using a different theme.

    Have tried adding the above code to .htaccess but this causes an internal error.

  10. Great stuff but when I added the code to my .htaccess I got an internal error so I have to delete it again. Nevertheless, I think my site is so much quicker now.
    Thanks Satish.

  11. Hi Satish,

    My site loads quite slow and I’m sure this is because javascripts load during the page load hence a visible slow loading page. Page speed and ySlow also shows me that some things needs to be optimised. I use statcounter as my tracking service (good?) and that also has an impact on the speed.
    I’d like to use your theme for my site and hire you to optimise the WP installation to achieve a greater speed, how can I do that?

      1. I’ve decided to employ you to optimise my site to achieve a greater speed than the actual speed. I would like to ask a question about Swift Theme Free version: should I firstly customise the site layout to my likening and then I ask you for the optimisation or you can do this first thing and then I can change the settings? Which is the best way to achieve the 90+ speed?
        Thank you.

  12. i have a problem that after the post,the previous and next button are on the wrong side..
    on the right side it should be next post whereas on the left side it should be previous post..
    but in the theme it is vice to fix this ??
    and also it shows author bio is coming shortly,where to change this author’s bio ??

      1. When I went to pay it said blog, so I want to confirm you can speed ou my word press site and not just the blog. amd that the mobile and desktop will be above 90?


  13. The last step: switch your DNS provider to CloudFlare. This adds another CDN-like service on top of whatever remains unoptimized on your site after the above tweaks, speeding everything up even more, plus some extra goodies such as blocking known bad IPs from accessing your site, so you don’t need to use another plugin to get these features. I did this on all the blogs I administer, using only the free CloudFlare service, and they managed to enter that green area in Google Webmaster Tools’ Site Performance page. Besides, W3 Total Cache recently added support for CloudFlare API, so both work quite nicely together. VERY worth the effort, specially given the price.

Leave a Reply

Your email address will not be published. Required fields are marked *