Achieve 99% in GTMetrix easily

Finally! I achieved the grade of double 99% in Gossamer Threads metrix using my old Jehzlau Concepts theme that I will make publicly available for download very soon. I’m still tweaking my theme and removing unnecessary codes to achieve 100% loading speed.

GTMetrix 99%

I got a perfect score of A on Page Speed grade and almost perfect score of A with one B on Yslow grade. I’ll be updating this post soon about the things I did and server modifications I made to achieve such blazing fast page load speed!

gtmetrixtimepiece

Right now I’m using Timepiece from WordPress.com. This one is slower (95% PSG and 94% YSG) compared to my default Jehzlau Concepts theme, but I’ll try to make this faster to achieve the 99% page load speed grade like my previous theme. I love this theme because it’s sleek and responsive and I think I’ll be using this from now on. [UPDATE 10/04/12 9:08AM: After a few tweaks in the Timepiece theme, I’m able to achieve double 99%, check this out!]

If you’re curious about how fast your website or blog loads, check your page speed grade now at GTmetrix.com.

Will update this post again tomorrow.

UPDATE 10/03/2012 11:59 PM:

Steps to achieve a double 99% (or just a double A) in GT Metrix

STEP 1: First thing to do in order to achieve a double 99% (or at least a double A grade) in your GTmetrix score is to check whether your server can reach a perfect score in both YSpeed and Page Grade when hosting a text-only page. No javascript, html tags, or anything, just plain text inside an html file. To do this, just add an index.html file in your public_html or domain folder with a random text you want—or perhaps leave it empty. Then, test your page speed in GTmetrix.com. See what I achieved below when testing a hosted text-only index.html in my server:

GTMetrixperfectsore

Take Note: If you didn’t score 100% in both PageSpeed and YSlow @ GTMetrix.com, then your chances to achieve a double 99% (or at least double A) in your WordPress blog with images, CSS, javascript and other contents are slim (but still, it’s achievable by implementing the next steps that I’ll be sharing in this blog post).

STEP 2: Remove unnecessary plugins in your WordPress blog. If you have a lot of plugins that is not really useful, remove it now, it will help speed-up the loading time of your WP blog.

STEP 3: Remove query strings from static resources. This can significantly speed-up your website. If you have query strings like style.css?versionblahblahblah or javascript.js?versionblahblahblah, remove those will help your site load faster. You can’t remove it manually in your header.php file, so you need to add these in your functions.php file (create one if you don’t have this file in your theme):


function _remove_script_version( $src ){
$parts = explode( '?', $src );
return $parts[0];
}
add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );

STEP 4: Install W3TC (W3 Total Cache plugin). If you already installed this WordPress plugin, Enable the following features: Page Cache (Disk Enchanced), Minify (Auto), Database Cache (Disk), Object Cache (Disk), Browser Cache, and CDN (if you have one).

STEP 5: Optimize all the images in your post using Kraken.io or Yahoo! Smush.it. There’s a nifty plugin by called WP Smush.it to compress all the images in your website with just one click.

STEP 6: Replace your default image emoticons with Pure CSS emoticons. This will also improve your blog’s loading speed, because all your smilies are now CSS-based. This WP plugin wasn’t updated for more than 2 years, but it’s still compatible with the latest version of WordPress (Version 3.6.1 as of writing this post)

STEP 7: After doing steps 1-6, your page load speed will significantly increase. To furthermore speed up your WP blog, you can either using Google PSS by signing up here and wait your site to be approved, then follow their step-by-step instructions. Alternatively, you can use Cloudflare (a CDN that can greatly improve your site’s performance and speed). Sign-up here and let them supercharge your website in 5 minutes or less. You just need to change your nameserver to use Cloudflare.

Check your site in GTmetrix.com after you did the following steps, or enter just your domain URL below and hit Check my site on GTMetrix!:

That’s it! Detailed instructions in using Cloudflare, Google PSS, and other website speed boosters / content delivery networks will be on my next post.

More from Jehzlau Concepts

  • Super Tears of Joy (170)
    Thank you! Thank you! Thank you! Thank you! Thank you guys for voting Batang Yagit! He won the Bloggers' Choice Award of the 2008 Philippine Blog Awards. This success would not be possible […]
  • W3TC: Remove query strings from static resources quick tip (7)
    Just a quick tip for those who are using the famous W3TC (W3 Total Cache) caching plugin for WordPress. If you're a Page-Load-Speed freak, and you're checking how fast your blog loads day […]
  • Error: Download of swfupload_f9.swf returned response code 404 (3)
    If you encountered a WordPress Error with returned response code of 404 you've come to the right place. This is the common error that was encountered after upgrading to WordPress 2.6 and […]
  • Just Upgraded to WordPress 2.6 and All I Can Say is “WOW!” (37)
    WordPress is undoubtedly the best blogging platform in the world! With the release of WordPress 2.6, it got even better. WordPress 2.6, code named Tyner, was released yesterday, July 15, […]
  • How to stop Blogspot spammers? (13)
    If you've turned off your comment moderation inside your blogger account, you won't be able to stop those nasty spammers. Well, it's just based on my experience. I don't know how to stop […]
  • Do We Need A Second Brain? (21)
    There are instances that our brain reaches its maximum capacity of memory intake. If we encountered this kind of phenomenon we intend to wish for a second brain, so that the excess data […]
  • Why Batang Yagit Should Win the Bloggers’ Choice Award? (189)
    Voting for the Bloggers’ Choice Award for the Philippine Blog Awards 2008 is now open! The complete list of nominees can be viewed here! If you want to vote, make sure that you're a […]
  • Goodbye Blogspot (34)
    My sincerest apologies to all of my subscribers for having no updates for the past few days. But now, I'm back! in a brand new, powerful, robust, and free blogging platform called […]

63 thoughts on “Achieve 99% in GTMetrix easily

    • Yeah. The faster the site the better! Hirap kapag mag hintay ka pa 2 seconds or more for the page to load. Dapat pala now mga less than 1 second para mag load yung entire website. O_O

    • ilang seconds? Naka Google PageSpeed na to eh umabot 0.25 seconds, pero depende din sa bansa and sa internet connection. Sakin 1.25 seconds kapag first time ni load. :D

  1. Hi Jehz, thanks for sharing this tip. Although I got a 100% grade with an index.html file, I know I won’t be able to achieve 99% due to the extensive use of images. Still in the process of installing Google PageSpeed. :)

  2. ang bilis nga. parang hindi nag load sa akin. like faster than a blink of an eye! san na yung next steps? para ma try ko din sa blog ko. :) Tinry ko yung step 1, nag double A din me and 100% din!

  3. Nice nag bago ka na din ng theme after so many years! this theme is so neat and clean! and your website is now super fast!

  4. Wow. Ito pala yung luma mong theme Jehz. Ganun pala yung pampabilis ng page speed. Pero dibah mabilis nah dati? I noticed nah gumagamit ka ng CDN.

    Anyway, pero panu yung important info like social share buttons, and other info for a blog? Ill try minimizing javscripts and flash images.

    Awesome update idol! :-)

  5. uu eh required ng GTmetrix kasi gumamit ng CDN kahit mabilis na kahit wala. hahaha :D

    yung javascript pwede rockloader nlng + yung isang app sa cloudflare. Update ko mamaya tong post ano dapat gawin. :D

      • You’re welcome, Sir Jehz! It’s not much, but if you want to change something about your profile, please let me know. And I’m really looking forward for the complete steps on how to speed up our WordPress sites. :) Thanks!

      • Hehehe.. yeah! Thanks! Lapit na modify ko lng tong post na to… may dinodouble check lng me na tweaks para tama mabigay kong tips. ;)

  6. 0.46s load time, galing!

    But I see you also sacrificed a lot of things. you kept external scripts to a minimum.. adsense nlng yata at nuffnang ang external, no tracking scripts to collect visitor stats (or so it seems, maybe I’m wrong), no social plugins… this speed can be hard to achieve if you’re not willing to let go of all these.

    sa cloudflare ba may visitor stats sila kinocollect when you use them sir?

    • Ay lalagyan ko pa social plugins. Yep meron sa cloudflare, and I’m still using Analytics and WP stats, naka rocket script lng kaya naka merge most of the javascripts into one file. :D

      Pwede pa me mag add ng maraming plugins, pero hindi na magiging close to 99% yung score ko. I’m aiming for 100% like ctm-it.com. Galing nya eh daming images and javascript pero nag 100%. O_O

    • Ayan. I returned the social buttons na. My Yslow grade went down from 99 to 97. Good thing my PageSpeed grade remained the same. Wah! Too many external javascripts kasi, di ko pa na merge yung mga hosted sa wordpress.com. Kelangan e re-code manually. Pag inactivate ko kasi yung jetpack, automatic nya ilalagay maraming external JS scripts, kaya medyo bumagal, pero mabilis parin. :D

      • ah.. kaya pala. galing! nka-marge na pala..
        oo nga, maganda pala yan kasi mare-reduce yung total number of requests pag-nakamerge lahat ng javascripts sa isang file, di rin naman ganun kalaking difference sa file size, so effectively marereduce din talaga and loading time.

        pero yung jetpack nga naman talaga, makulit talaga yang plugin na yan.. bakit ba naman kasi ang daming pinaglalagay ng automattic dyan sa plugin na yan.. di naman lahat ng modules nagagamit natin palagi..

  7. Yeah. Kahit ung mga inactive features ng jetpack naka include sa wp head ung js files nila. Dagdag sa pagpabagal ng site load. :(

    Kainis kc pag mabagal. Kaka bagot mag hintay. Haha! Baka palitan ko jetpack ng individual plugins nlng ng mga features na need ko. Like social share and notify when there’s a new comment. Haha!

  8. Jehz, pinalitan ko nah yung theme ko cuz the script for the functions.php to remove query strings won’t work on my previous theme. I’m using timepiece. Gaya gaya na naman ako sa yo. haha! Bumilis nga sya. Galeng nito. But walang sidebars so no widgets. Ok lang. Ill find a way pra ma lagay ko yung Nuffnang and Google ads.

    Thanks a lot idol! Now you’re back! :-)

    • Wahhh! san u ginamit timepiece? hahahaha.. pareho na tayo neto. Tinest mo din speed u? Hehehe. Yung old theme ko rerelease ko din for public use. Gamitin u din sa ibang blogs u. Hehehe :D

  9. hahaha! uu bumilis talga cya; Double A na cya; pero after more than 24 hours binalik ko na naman sa dati kasi di ko malagyan ng maliit nA header; malaki kasi masyadu ang height ng header nya; hehe; cge cge; pag available na yung old theme mu ill use it for mo other blogs. hehehe :-)

Click to add emoticons

O_O :yeah: :wink: :wah: :twisted: :takot: :taka: :superlungkot: :silenced: :p :oops: :mrgreen: :lungkot: :lol: :lambot: :kagat: :ipit: :idea: :huh: :hilo: :gulat: :evil: :dila: :cry: :bleh: :blackeye: :asar: :aruy: :arrow: :anoyun: :akopa: := :-| :-x :-P :-D :-? :) :( 8)

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>