Mobile Speed is important! As much as it pains me to say this, if we want to get more traffic we need to keep Google happy. Failing this would cause us to lose our standing in the search engine causing a huge drop in traffic resulting in less income. And we don’t want that do we.
This post is about increasing the mobile speed of my Best Online Sports Betting blog. Unfortunately I didn’t take a screen shot of the results before I started updating the mobile speed of that blog but I did leave a comment on Mitch’s post and it was 60. The image below shows the current speed after all my tweaking.
Pretty good huh? You can see how your site scores by clicking this link.
How To Improve Your Mobile Speed
The first thing you need to do is to find out what Google thinks is hampering your mobile speed. You do this by using Google’s Page Speed Insight tool. That will score your site as well as tell you what’s wrong with it and what you need to do to make it better. The order you tackle that is up to you. I decided to tackle the easy things first.
This came under the ‘Consider Fixing’ category. I was surprised to see that because I thought all my images were optimized because I use the EWWW Image Optimizer plugin.
The good thing about Googles Speed Insight tool is that it actually shows you what needs to be fixed. In the case of the images it gives you actual links to those images. A lot of my images were images used in my theme. I downloaded one directory at a time, optimized all the images in that directory using TinyPNG and then uploaded it back to the server. That increased my mobile speed a little.
Unfortunately a lot of those images were from my affiliate sites which I had no control over. Why they don’t use optimized images is beyond me. I decided to host all those images myself and my speed increased a little more once I optimized them.
Leverage Browser Caching
Once I fixed the Optimize images problem I tackled the the leverage browser caching issue. I thought that was being handled by my Comet my caching plugin but it seemed it was falling somewhat short so I decided to try a different one. Enter WP Fastest Cache. That improved it a little more but created a .css issue. Still, the speed was improved. They had a paid premium version with a mobile function so I decided what the heck and bought it. Another speed increase.
Again some of the stuff was out of my control because they were being caused externally via affiliate links etc. Wherever I could I tried to resolve those issues resulting in another speed increase.
The only things I couldn’t resolve were under the leverage browser caching;
http://w.sharethis.com/button/st_insights.js (expiration not specified) http://connect.facebook.net/en_US/sdk.js (20 minutes) http://www.google-analytics.com/ga.js (2 hours)
I could easily fix the first two by removing the Simple Share Button Adder but I decided the potential shares were more important than the small speed increase. As for the Google analytics issue, you would have thought that Google would have chosen to ignore that seeing as how they were causing it in the first place right?
Google Fonts issue: My issue with Google Fonts, which is apparently built into WP, was a bit of a pain. Luckily Autoptimize was able to resolve that for me as well.
WP Speed and .htaccess: In your search for mobile speed you will probably come across a lot of sites that tell you to change your .htaccess file to allow for gzip compression or whatever. Your caching plugin should do that for you. I didn’t have to change mine at all.