How to Speed Up your Website Load Time

Have you been struggling and looking for ways to speed you your website load time but to no avail? I’ll show you how I improved mine and how you can too. This time, it’s not about becoming a successful blogger and how to promote your post, let’s jump on the practical boat and dip our hands into the mud. Over the week I’ve been busy optimizing my website load time and I think it’s high time I shared the tips I used in improving my gtmetrix score, yslow score and pingdom score. Before I go further, there’s something I want you to know. Do you know that your blog speed can affect your traffic? Ok let’s put it this way; the slower your website load time, the lower your page views, we are all in a hurry you know? Anytime I visit a site and it does not load within 4 seconds, I won’t hesitate to leave the site and I’m sure you’ll do the same too. Speeding up your blog is not only to impress your visitors but to also impress google, I’m not talking about writing for google but one of the search engine optimizations you don’t know is having a high blog speed. Again, the faster your website load time, the higher your ranking. Of course, a high ranking blog receives the best out of organic traffic.

website load time

How to speed up your website load time – The basics

Before going to blog speed optimization, let’s make sure there’s nothing wrong with your blog. Go to ismyblogworking and see if your blog is actually working. If you should in any case get something like your “blog is broken” then there’s a big problem. The first thing to check is your .htaccess and robot.txt, make sure you’re not blocking google from crawling your site.
The second is brokenlinkcheck, if you have many broken links on your blog it can affect your pagerank and equally your ranking on SERP, hop over and see if you have any broken links and If you find any, trace the source of the link and delete or amend it.
Note: Most of the broken links on your blog are not just as a result of mistakes in interlinking, some website URL in your comments can also be the cause, if you’re the type that welcomes hundreds of daily comment then you have a lot of work to do because tons of broken links might be awaiting you. To avoid the stress, you can simply get a virtual assistant to do the job for you. The action of your broken link might be “bad host” or “404″. I do pardon bad host but 404s can’t dare to cross my boundary. All I do is to delete the website field of the commenter and remove his/her link love (for commentluv enabled blog).
Having done that, you’re 30% free, now let’s go to pagespeed. Hop over to gtmetrix and do some website speed test, if it’s your blog score is below 75% – 80% then you have a lot of work to do but don’t worry, we’ll work it out together.

website load time

Improving your website load time – Compress images

Compressing images before uploading them is another additional stress but this step must not be ignored, you can use smush it to compress them before uploading. If you have tons of images in a particular blog post, it’d be better if you use flickr as your image server and copy image link to your editor, the only image you can host on your blog are your featured images. For an excellent image optimization, you’re going to create an image subdirectory and your image URL is going to look like this: http://image.viralwriter.com/image-file.jpg. For a full tutorial on achieving this, check out Sriram’s post on how to create subdomain for images.

Others are;
Reduce http requests
Minimize redirects
Minify html
Minify css
Avoid css@import
Enable Gzip Compression………and other boring stuffs

I wouldn’t want to give a long tutorial on this but I’ll make it simple and short. I had to cut out the code I used in optimizing my speed from my .htaccess file. Simply copy and paste it below your .htaccess file but remember to backup before going any further because it might break your blog, here you go.

Actually I don’t really know the function of this, the little I know is that it changes the character set of your meta tag and it’s also required by google. I pasted the code into my .htaccess file and I noticed a good improvement in my website load time and gtmetrix score.

# pass the default character set
AddDefaultCharset utf-8

Enable Gzip compression

Another trick to speed up website load time is to enable gzip compression. To achieve this, paste this code below your .htaccess file and save.

<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

Utilize browser caching

There are lots of static resources on your site, utilizing browser caching stores those static resources which increases your page speed. To enable this, pages this code below your .htaccess file.

ExpiresActive On
ExpiresByType text/html “access plus 2 weeks”
ExpiresByType image/gif “access plus 2 weeks”
ExpiresByType image/jpeg “access plus 2 weeks”
ExpiresByType image/jpg “access plus 2 weeks”
ExpiresByType image/png “access plus 2 weeks”
ExpiresByType image/x-icon “access plus 1 years”
ExpiresByType text/css “access plus 2 weeks”
ExpiresByType text/javascript “access plus 2 weeks”
ExpiresByType application/x-javascript “access plus 2 weeks”
ExpiresByType application/x-shockwave-flash “access plus 2 weeks”

Configure Entity Tags

When you check your yslow tab, you’ll see something like “configure entity tag”. Web servers use entity tag to determine if the entities of the browser cache matches that of the server. If you’re having a bad grade in this section then pates the little code below your .htaccess file.

FileETag none

Defer parsing of Javascript

For a faster website load time, your javascript should be located after the closed body tag while css before the opening tag. To improve this, paste this code below your .htaccess file.

# compress text, html, javascript, css, xml:
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
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:
SetOutputFilter DEFLATE

That’s all about .htaccess, make sure you refresh your blog to make sure it’s still intact, if it’s not then check your .htaccess file it you omitted anything.
Note: If you have any deactivated or irrelevant plugins on your blog, why not delete them, too much css and js files are one of the features that slows down a blog. I’m yet to be satisfied though I have just 14 plugin on my blog.

The boring and unexpected step ever but it works – Minify CSS

Here you are going to compress the css files of your plugins. This isn’t really important but if you’re yet to be satisfied then you can follow these steps. Do you know that a mare space in your CSS file increases its file size? To minify your css file, click on the minify css option in gtmetrix, click on the optimized version of the plugin that needs to be compressed, copy the code and paste it in the required plugin css editor (file path will be provided on gtmetrix – just trace it) then save. That’s how you’re going to do it for each plugin until you’ve gotten a green bar. Do the same for your theme style sheet (style.css). Alternatively you can use css drive to compress your css files.
Cons: It’s a waste of time because you’ll have to start afresh anytime you update your plugin.
Note: Backup your plugin style sheet before making any changes to avoid breaking your plugins

Install W3 total cache

This is a plugin that minifies everything on your blog and improve your website load time. I know of wp super cache but I’ll prefer you to go for w3 total cache. After installing it, configure it by following Reginald’s Guide to w3 total cache.

Note: See the social media follow icon on my sidebar? That’s flare, and the sharing icon on the left side of my blog too? That’s also flare, just a plugin with two functions. If you’re using a special plugin for your social media follow button, you can delete it and use flare. I’m not using a sharing button below or above my post but flare has that feature too so if you’re using a plugin for that, you can delete it. See! Flare can be your 3 in 1 plugin.

Prefer Asynchronous Resources

I was thinking Google Analytics code was one of the reasons why I’m having a slow page speed but a friend of mine told me that google analytics code is an asynchronous code. This is the difference; Asynchronous codes doesn’t affect your website load time while synchronous code does.
Do you have a facebook like box on your sidebar? Well it’s a synchronous code but you can convert it to an asynchronous code. Simply go to your facebook widget plugin editor > open “facebook-pagelike-widget/fb.js” and you’ll see a code like this.

jQuery(document).ready(function () {
appid = vars.app_id;
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1&appId=”+appid;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));
});

Simply add this line of code “js.async=true;” (without quotes) and the optimized version will look like this:

jQuery(document).ready(function () {
appid = vars.app_id;
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.async=true;
js.src = “//connect.facebook.net/en_US/all.js#xfbml=1&appId=”+appid;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));
});

For those using a twitter follow button, simply add this: “js.a” (without quote or semi column) between your codes

Make Google Adsense Code Asynchrnonus

Google Adsense is one of the codes that’s slowing down your blog especially if it’s synchronous, simply login to your google adsense account, click “my ads” and edit your ad unit. All you have to do is to click on the ad unit, scroll down and click on get code, change the code type to Asynchronous (BETA), copy the code and paste it on your blog, tada!

Content Delivery Network

Need a content delivery network? This is going to make your blog faster by serving your blog and making all your scripts asynchronous. For a start you can check out cloudflare. I joined recently and the result is really great. Why not give them a shot.

Smush.it plugin

Still want to optimize your images further? Smush.it plugin is going to automatically smushes your images and compress them without tampering with it’s quality. I use it on my blog too and it’s really great, you can check it out here.

Now let’s hop over to Pingdom

website load time

Pingdom is another place where you can do some website performance test, test your blog then scroll down and find out the file that’s slowing down your blog. Files slowing down your blog are those with an extremely long yellow bar. Having seen them, you can trace the file with the provided URL and optimize or delete it. If a gravater is slowing down your blog, ignore it because there’s nothing you can do about it, unless you want to wipe out your monetization strategy. Don’t get addicted to “over optimization”.

Avoid @import

Hop to your css file in your theme editor, depending on your theme you’re going to see something like this;

@import url(http://fonts.googleapis.com/css?family=Droid+Sans);

All you have to do is to replace each of them to something like this:

Now change all the @import(s) in your css file to that format. @import slows down your blog and gtmetrix confirmed that.

Most important of all! your theme.

Your theme is the root of all these and a heavy theme means a slow blog while a slow blog means no traffic and high bounce rate. You can also check out these beautiful and cheap collections of themes from theme junkie and elegant themes. They have a high speed (as high as 1 seconds) without optimization, now imagine using these themes together with optimization, your blog is going to load in blazing fast. Love my theme? You can get it at Studiopress

At last!

No strings attached, these are completely all the tips I used in achieving. 83% speed score, 71% yslow score and 1.0 seconds in pingdom.. You can put more effort and do better than me. If there’s any tip you’re using in optimizing your blog speed, do share them with us. Don’t forget to play with those blue social sharing buttons below my blog and If you’re stuck along the way, don’t hesitate to drop your queries below.

Join Our Newsletter

Like what you read here in this blog post?

Subscribe to get more awesome updates delivered to your inbox.

Viralwriter.com runs on the Genesis Framework

Genesis Framework StudioPress Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.
Check out the incredible features and the selection of designs.

It's that simple - start using Genesis now!
If you already use Genesis Framework, be sure to sign up for their affiliate program and start making money with your blog today!       Read: Things to consider when choosing a blog design

Comments

  1. says

    Hi Gilbert,
    Bro, you have written on a very interesting topic…Every blogger should prioritize this thing…..We all have loads of things to do, so we don’t have many times (even seconds) to wait….so a blog should open up really fast in order to hold the attention of the readers…..It lloks good that you have mentioned the solutions too….Great post buddy….
    Aditya Dey recently posted…Is Samsung to explore low-cost MediaTek processors in its mobiles of 2014?My Profile

    • says

      Hi Aditya,
      Of course, we’re all in a hurry and won’t hesitate to leave a slow blog. I’m sure you’ll implement the solutions and it’s definitely going to help your blog. Have a great week ahead.

    • says

      Good to see you here Pritam.
      Good to hear that you’ve implemented all the tips mentioned. Seriously, I’d go for w3 total cache. It’s the best, though the configuration might be stressful but when done then that’s the end. Choose wisely buddy. Have a great week ahead.

  2. says

    Hi Gilbret,

    I do understand the effect of page speed on my blog, I tried to improve my blog speed by using CloudFlare and Swarm CDN and some other optimization techniques but couldn’t really reach to needed speed, The Problem that I am not into coding thing so that I do prefer using plugins and websites rather than editing codes, however I will try to use your methods as you presented them in simple and detailed way. Thanks for sharing this great article.
    Qasim recently posted…Increase Your Ad Revenue By Split Testing Adsense AdsMy Profile

    • says

      Hi Qasim

      Good to see you here. Actually i don’t use CDN, I only use the tips mentioned above but i heard it’s great, I’m just being lazy. Seriously, I also hate coding but when I gave it a kick, everything went fine. Just follow the tips, it’s a no-brainer but make sure you back up your blog in case you make a mistake and break it. I’m a novice in codings and I’ve broken my blog a thousand times but all thanks to backup. Good luck as you implement it and have a great week ahead

  3. says

    Hello Gilbert,

    I though I was going to come here to see the normal thing every blogger writes; use few plugins, change your theme, change your web hosting etc. I was very happy to see something different. At least I learnt a couple of new stuff.

    Just to let you know I don’t think your Gzip compression code is correct, because I got an internal server error message when I tried it. May be you could check it again. My blog is much faster now, after applying some of your tips. Thanks for this post!
    Ugee recently posted…5 Extremly Important Steps to Creating a Unique Post For your BlogMy Profile

    • says

      Hi Ugee,

      Great thing you came across something you weren’t expecting and I’m glad you learnt some new stuffs.

      I’m glad your blog is faster now. I check the gzip code and noticed that I didn’t include the opening and closing tag, in case you omitted it while optimizing your website load time, you can use it now; it has been updated. Have a wonderful monday.

  4. says

    Hi Gilbert,
    very informative and detailed guide. . . I agree, if a website doesn’t load in 4-5 seconds people will leave the site, specially search engine visitors. . . Awesome post, thanks for sharing :)

    • says

      Great thing you’re on my side Adithya, most bloggers are yet to know about this and it’s one of the reasons why they don’t have much traffic. I’m glad you found the post useful :)

    • says

      Hi Marilyn,

      I’m also eager to experience PR update on my blog but i doubt if it’s going to roll out any time soon. Let’s ust roll out sleeves up :) Good luck as you implement the tips and definitely they are going to improve your blog. Have a wonderful day.

  5. says

    Interestingly, there is no title for this post. Is it a new style or what bro? hahaha!

    Let me move back to the title-less post, hahaha, blog speed speed is something I’m working on as well. I realized chitika ads were increasing the loading speed of my blog so I had to take them off!
    Emmanuel recently posted…4 Myths about BloggingMy Profile

    • says

      Haha, not a new style. I was testing a plugin and this made my latest post’s title invisible, it’s solved now and don’t move to title-less post :)

      Oh Chitika ads? Duhh it’s all ads not just Chitika. But there’s an option to change your ads to Asynchronous when you login to chikita then it can be solved. I changed my google adsense code to Asynchronous and it improved my website load time.

  6. says

    Hi Gilbert -
    Epic post – you should make it into a report and give it away. I use gtmetrix and my grade fluctuates from b to d, depending.

    I use a lot of images and have never heard of compressing them. I just make sure that they have the post name and that they are the size the they will be in the blog post BEFORE I upload them.

    You’re creating a lot of work for me!

    Thanks for the info.

    Donald
    Donald Thomas recently posted…Mind Mapping (For Productivity)My Profile

    • says

      Hi Donald,

      Haha, that’s a good idea :). Actually, my grade is static, it only fluctuates on pingdom.
      I also upload images without compressing but if you create a subdomain for your images, there won’t be any need to compress them because they won’t slow down your blog. Well, making it the blog post matters but i don’t really consider that. If i want to make my blog post SEO rich, i could just include my keyword in the alt tag.

      Yea it’s a lot of work but i’m sure it’s going to improve your blog. Have a great week ahead.

  7. says

    Thanks for these tips Gilbert. Website loading time is one thing i don’t handle with kid gloves, i so much place emphasis on it because i hate to see sites loads slowly, i thing too many graphics can cause this.

  8. says

    I never knew adsense codes is also what slows blogs. Thanks for this added knowledge.

    We should also do away with all unnecessary plugins. Only use plugins when there is no other way to get that same thing done without them

    • says

      You’re right Danaty,

      I only use plugins when there’s no alternative and of course, adsense code slows down blogs, i found out the solution of recent and it has really improved my website loaf time. Have a wonderful day.

  9. says

    Hi Gilbert,

    WOW! What a long and dense post. I have only two questions for you:

    I went to ismyblogworking and checked my blog. I got two interesting messages:

    1. Your blog application doesn’t support gzip compression.

    I am very interested in gzip compression. Are they telling me I can’t use this method?

    2. Your blog is not indexed by Google.

    This is strange. My blog is online for an year and it is active for more than 6 months now. Google sends me a lot of visitors daily. I verified the blog with WebMaster Tools, I sent sitemaps to Google, I did a lot of things. How can they tell me my blog is not indexed by Google?

    This is strange. How much trust should I put in this ismyblogworking site?

    Have a wonderful day
    Silviu recently posted…How to Find Nofollow Links and Dofollow Links in a PostMy Profile

    • says

      Hi Silviu,

      I checked it and found out what you meant, they’re not saying you can’t use the method, what they’re saying is that you didn’t compress your blog with gzip comoressor. You can copy the code i wrote about compressing gzip and paste it in your .htaccess file, it’ll give you a good result.

      When it comes to google index, ignore it or it’ll say just give it 0% trust because it’s not reliable for checking your blog index status. I’m not surprised because when i checked mine, it says my blog is indexed by google and the next time I checked, it wasn’t indexed. It’s totally unreliable but other features are perfect.
      Have a wonderful day too.

  10. says

    Hi Gilbert,

    Wow these are some great tips for speeding up one’s blog. I don’t mess around with the code, and don’t think that I could even if I wanted to.

    I just use MaxCDN and it seems to help my site load faster. I know that if I took the time to implement the strategies you talk about, my site would be faster. Thanks for sharing these tips.
    Susan Velez recently posted…Completed My Sales Copy, OTO And Downsell PagesMy Profile

    • says

      Hi Susan,

      I’m also scared of these jargons in some cases :) I’ve heard of MaxCDN and CloudFlare but I don’t use CDN for my blog at all. I’ll consider that later in the future, have a wonderful day :)

  11. says

    Hey Gilbert,

    Although I definitely appreciate what you’ve shared here, I’m still a little confused about some of codes to place in the htaccess file.

    Like what exactly is gzip compression for? I compress my images so I’m not sure what this does. I like to have a better understanding before I go loading any code in there. I have no doubt what you’ve shared will help though.

    Now the odd thing is that I’ve taken a lot of stuff off my blog that did cause slower loading and it raised it for a short while. Then it’s in the C ratings again yet I don’t really think my blog loads slow. For the most part I have a lot of stuff that tells me it’s related to my theme and CSS stuff. Things I have no clue how to resolve and I’m not getting rid of my theme.

    I know this hasn’t really helped me with visitors but you’re right, we should do our best to help it load more. Now you probably know that I do not have a caching plugin and every one I’ve used in the past messed my blog up. Recently switching hosting services they told me that I didn’t need one. Ashvini had installed WP Total Cache for me and it still messed my blog up so I think that eventually I’ll just have to find another solution that will help in that respect. By the way, I’ve also tried CloudFlare and saw absolutely no change whatsoever and I also had issues with them. Still scratching my head over that.

    Thanks for this information Gilbert and I’ll wait to hear a reply from you. I’d really love to know.

    Enjoy your weekend.

    ~Adrienne
    Adrienne recently posted…Google Really Can Be CoolMy Profile

    • says

      Hi Adrienne,

      Gzip compresses your javascripts and all other .js files, this saves some bandwidth and at the same time, speeds up your blog. Image compression is another section on its own and it works too.

      I also get tons stuffs like that whenever I check gtmetrix, it’s very tempting but most of the queries are impossible to optimize. It’s better to just let them be.

      I don’t really know but my blog is also hosted with smackhunt and I’m using a caching plugin, it’s working fine for me. As for CDN, I’ve not used either cloudflare or MaxCdn. I prefer everything being hosted on my blog. They have disadvantages especially cloudflare.

      Btw, I tested your blog with gtmetrix and your score it good. Couldn’t believe your site a bit faster than mine when I tested it with pingdom. You don’t have much buned on your site so I don’t think you need to focus much on your load time.

      Have a wonderful weekend too.

      • says

        Hey Gilbert,

        I saved your comment and wanted to look into a few things before I came back. So you think my blog is fine?

        I’ve just had issues with the caching plugins and even had Ashvini set it up but we still had issues so Smackhunt said don’t worry about it right now, I’m good. But my scores in GTMetrix are still C’s. I don’t really think it loads slow though but as they say, it might load quick for me but not others. So you don’t think I should worry about it at all? I definitely want to make things better for others.

        Thanks Gilbert and I’m still saving this post.

        ~Adrienne
        Adrienne recently posted…Why Your Social Sharing Buttons Drive Me NutsMy Profile

        • says

          Hi Adrienne,

          There’s a big difference between scores and speed. If it’s because of the score, a blog with “D” can even have a faster load time than mine. Your blog runs perfect at 2 seconds, there’s no need to worry :)
          Have a wonderful day.

  12. says

    Hello Gilbert,

    Long but really working and nice guide. Continuing the steps, first of all, I am happy that my blog is working :P After that you helped me in finding two broken links in commentluv. Thanks for that mate. Heading to more of the modifications in .htaccess, it also seems to be a great experience and yes, I have followed the guide of Reginald for W3Cache plugin already. And now, it is working a good job. The job rest is to modify the Facebook like box now. All the links, mentioned in the complete tutorial are just awesome and I am gonna love them. I am using pingdom from earlier to check my website speed, and now I think my blog’s loading speed will improve a lot. Thanks for the awesome guide once again. Keep sharing :-)
    Ganesh Narayan Gupta recently posted…Invite Huge Friend List to Like Your Facebook PageMy Profile

    • says

      Hi Ganesh,

      I’m glad you found this helpful, two broken links? That’s not much…when I checked mine it was 27 broken links and I had to fix them all. Good luck as you edit your .htaccess file and remember to do some backup in case anything happens. Have a wonderful weekend.

  13. says

    Thanks for the advice. I enabled the gzip compression and the browser caching in hopes of improving my website performance. Now it’s time to go test! Thanks!

    Jeff

  14. says

    Hey Gilbert
    You seems to be on roll with your articles :)
    Just my 2 cents below:

    For broken links use : Broken link checker WordPress plugin or use integrity desktop app (Mac only)
    W3 Total cache is simply out of the box, but sometime it doesn’t play good with shared hosting. In such cases, use WP super cache plugin.
    Use Smush.it plugin to compress images.
    And CDN will be added bonus. You can take advantage of cloudflare free CDN for the same…
    Harsh Agrawal recently posted…How To Install Ghost Blogging Platform On Local ComputerMy Profile

    • says

      Hi Harsh,

      Good to see you here, I know of broken link checker but I’m always skeptical anytime I want to use an additional plugin on my blog, I’m trying to sit on 14 plugins but I know some plugins I can’t do without will definitely arise.

      I also use smushit (web based) to compress my images, I’ll try the plugin and see what it looks like. Oh CDN? I’ve heard of cloudflare and Maxcdn. I’ve kept my fingers crossed on that, I’ll definitely use it soon. Thanks for your 2 cents, have a wonderful week ahead and see you around :)

      • says

        Related to broken links, I had around 200 broken links because I switch to another niche, most broken links was coming from tags, the problem was that Google indexed those links, in my webmaster panel I received emails warning me, “broken links please fix”, so I decided to install a plugin to manage these broken links, I did that and warning never bother me. However I read on SEOmOZ that redirecting broken links to homepage may harm your ranking because Google thinks you want that.

        The solution is to redirect broken links to most appropiate article and keep a good bounce rate. This would be all. Hope is useful to anyone encountering similar problem.

  15. says

    Hey bro,
    I think there are 4 stps to speed up your blog. First, get a SEO friendly webhost, then go in for a fast loading and SEO friendly theme. The last two are CDN and plugins. Removing and adding plugins can really do you good. Recommended speed plugins are w3 total cash, wp smushIt and maybe a lazy load plugin. I’m writing a detailed post on this.

    Have a great week

    • says

      Hi Enstine,

      You’ve just pointed out the most important of all. I’ve heard of smushit but I use the web based version to compress my images. Can’t wait to read more on your blog.

      Have a great week too

  16. says

    Hi Gilbert,

    Came here through Adrienne’s blog today. You have done an excellent job sharing your experience with loading time of webpages here. However, I’ve a couple of questions for you:

    1. What part of these .htaccess rules are not handled by configuring W3TotalCache properly?
    2. If I’ve Cloudflare installed (as I have), it is supposed to load javascripts asynchronous by definition of their Rocket Loader. So, how does play into this?

    I look forward to hearing from you.

    Thanks,
    Kumar
    Kumar Gauraw recently posted…Time Saving Apps For Bloggers For Increased ProductivityMy Profile

    • says

      Hi Kumar,

      Good to see you here and thanks for the nice words.

      W3TotalCache injects codes into our .htaccess files, after configuring it steps like;
      Gzip compression must not be over looked, others can be done through W3TotalCache.

      Currently, I’m not making use of CDN since I have a fast blog, most of the scripts on your blog are synchronous resources, these resources slows down a blog but when converted to asynchronous resources, it won’t affect your blog speed. So asynchronous scripts means a faster and a less burdened blog.

      I hope this helps, have a wonderful week ahead.

  17. says

    Gilbert – this is a great tutorial! I’ll have to experiment with the .htaccess tips and especially the Facebook Like box tip as well! That was causing some huge issues and I ended up removing it.

    I’m on the fence for WP-Total-Cache vs. Super Cache. W3 is more of a ‘I can do it all’ plugin including minifying JS and CSS and CDN support. While Super Cache will modify your .htaccess with some of the tips you provided. I recommend people to use WP Super Cache – especially if they are beginners – or using Host Gator as their hosting provider.

    I’ll definitely be dropping by again to see what tips you offer!
    Jason Mathes recently posted…Fixing the Twitter Field for CommentLuv BlogsMy Profile

    • says

      Hi Jason,

      Good to see you here and good luck as you experiment with it, I’m sure it won’t break anything if the steps are well followed, let me know if you need any help.

      Thanks for the recommendation but W3TotalCache is as simple as anything since the steps are mentioned (step by step guide). I also heard people saying that hostgator is not reliable anymore, I visited some friends blog last week and their blog was down due to some issues with hostgator. I’m using smackhunt and I’m enjoying it.

      Can’t wait to see you around, happy new month.

  18. says

    Hi Gilbert
    I hope you are well.
    I came over from Adrienne’s Smith’s blog.

    Wow so deep for people like me that are clueless to all this “tech stuff”. I have someone that is currently helping me with these issues.
    Gilbert, I do know that Adsense ads do slow down blogs.
    But all in all, thank you

    Gladys posted…Take Action Against Self-doubt
    Gladys recently posted…Take Action Against Self-DoubtMy Profile

    • says

      Good to see you here Gladys, I’m great.

      It’s always nice to have someone there for you. I changed my adsense code to asynchronous and noticed a good improvement in my load time, adsense really slows down blogs, the tip is a life saver for adsense users.

      Thanks for the comment oh! happy new month.

  19. says

    Gilbert, great timing as I see from some reports my speed could be better but didn’t understand all the language. This will help me tremendously. I will come back to it in the a.m. when I have some time and possibly reach out to you with questions. I do use Smushit and also jpeg opitmizer before putting any images on the site. I had not heard of gzip compression before, I’ll have to play around in my cpanel too. I got some work cut out for me, thank you!
    Lisa recently posted…Embedded Media in WordPress: Tweets, Videos, and MoreMy Profile

    • says

      Hi Lisa,

      Good to see you here, I also use smuch.it but if you find it stressful, you can just install WP smushit on your blog, this will compress the entire image on your blog. Good luck as you look into others, I’m always here to help.

      Happy new month.

  20. says

    Hi Gilbert,

    I went to ismyblogworking and it says that my site is broken — WHAT!? Is this site accurate? Like Silviu said, his site is not indexed by Google. And now my site is broken. Um, I don’t think so. The only bad URL I found so far is my RSS, which I still have to fix. And the brokenlinkcheck site is pretty good and reliable — this is the one I am using now to check broken link and they are pretty accurate.

    I’m not sure about this .htaccess. I am not touching anything there. Adding or anything. I’m leaving it “as is.”

    As far as photo is concerned, you said you use a different host for your photos and not your own site? Hmmm…I have been using my domain to store all my photos. Using a 3rd site like Flickr can be unpredictable, don’t you think? Reason why I know is…I used to blog on livejournal and I hosted all of my photos at Fotki.com and somehow this site have taken down some of my photos and now it’s giving me a broken link. And so because of that, I feel more SECURE using my own DOMAIN for hosting ALL of my photos on my blog. Besides, I don’t think my site is slow.

    Anyway, I resize all of my photos before uploading them. So I’m not sure I need to use gzip.

    As as checking the speed, I always use the Chrome plugin “Google Developers” here: https://developers.google.com/speed/pagespeed — and this analyze my blog all the time. So far it is not running slow though it’s on the 70% scale. Also, I used WP Minify plugin to minify engine to combine and compress JS and CSS file to improve load time.

    As far installing WP Total Cache, I cannot use this because this plugin CONFLICTS with CommentLuv Premium. Andy Bailey recommended to ONLY use WP Super Cache — this is good enough.

    Angela
    Angela McCall recently posted…Letter From HostgatorMy Profile

    • says

      Hi Angela,

      One thing I noticed about “ismyblogworking” is 50% of its result is inaccurate especially the aspect of indexing, but your blog is broken? Sounds weird, do you have Google Analytics code in your header? I’d love to know if you’re getting good result on your google analytics dashboard, if it’s blank (google can’t crawl your blog) then it means your site is really broken or maybe there’s a code blocking it in your robot.txt file, I’ll love to hear your feedback on this.

      Concerning .htaccess, I understand what you mean, I was once scared of tampering with my file, I can’t afford my blog going blank but since I always backup before editing anything, there no need to panic, I can just restore my files with ease.

      I only use a different host (flickr) for extra images in the blog post, my featured images are always hosted from my domain. I’ve never heard of fotki but since flickr is from yahoo, no worries. Any service from yahoo and Google and are 100% reliable. You can install WP Smushit and compress all the images on your blog, it takes just two minutes or so.

      I checked your blog’s performance on gtmetrix and it’s great, I noticed you minified css and js files. According to gtmetrix, you don’t need to use gzip compression since you’ve minified your css and js files with WP Minify,
      I also tested it on pingdom and it’s awesome, it loads at just 2 seconds.

      I never knew W3TotalCache is clashing with commentluv premium, though I’m currently using the free version, I have some friends that uses W3TotalCache on Commentluv premium and it works fine, I wonder why it’s different on yours.

      Anyway, it’s good to hear that you have a fast blog but I’m still concerned about the result “ismyblogworking” gave you, please check your Google analytics dashboard if you’re having traffic spikes or if it’s just flat, love to hear from you soon.

      Happy new month.

  21. says

    Hi Gilbert,

    Thanks for a very detailed, informative post – I do think, though, that some of the tips here are quite advanced for non-techies like me. For example, you say “Simply go to your facebook widget plugin editor” – I’m afraid there’s nothing simple about that for me! The code in my FB like box widget looks nothing like the code you’ve cited, and I’ve no idea how to navigate to the plugin editor you refer to. I’ve also been told that we need to be very careful about altering code in our .htaccess file if we’re not sure what we’re doing.

    I’ve recently had WP Super Cache and Smush.It plugins installed on my site and it’s loading quite quickly at the moment – less than 1.7s last time I checked. I know I have too many plugins, though, and need to set aside some time to have a bit of a purge.

    Thanks, once again, for all the tips, Gilbert – I just think some non-techies like me would need more guidance to implement them safely. It’s an important topic this, though, because a slow-loading site is a big turn-off!
    Susan Neal recently posted…15 Beliefs To Supercharge Your Writing CareerMy Profile

    • says

      Hi Susan

      I’m surprised the codes there are different, is it the same plugin? I mean are you using the facebook widget plugin?
      To go there, hover your mouse to plugins (on your dashboard)> you’ll see “installed plugin”, “add new” and “editor”. Click the “editor” option, that’s where I meant you should go to.

      When the editor opens, it’ll show you the css codes of each plugins, click facebook widget as the plugin file to edit then click on “facebook-pagelike-widget/fb.js” it’s located at the right tab, that’s where you’re going to see the code mentioned above, the steps should be clear from there.

      Smush.it is an awesome plugin, it does all the compression for you but since my images are hosted in a sub-domain, I don’t really need it because my pictures won’t affect my load time.

      I should have gone indepth while explain those steps and sorry about the word “simply” :) I never knew it’s more than that, let me know if you need any help.

      Btw I just checked your score and oh boy! You have 90% on gtmetrix and your blog loads at 1.5 seconds. That’s awesome

  22. says

    Hi Gilbert,

    The tips you’ve shared are awesome…I’m going to implement them every step of the way!

    Thanks for taking your time to write such a resourceful post.

    Do have a great day!

    - Terungwa

Trackbacks

Leave a Reply

CommentLuv badge