How Do You Get 90 Score In Google Page Speed Test?

Discussion in 'Black Hat SEO' started by wokaka, Feb 24, 2012.

  1. wokaka

    wokaka Senior Member

    Apr 1, 2010
    Likes Received:
    hi guys, i think you all know already about the existence of this tool:

    i wonder how do I solve "leverage browsing cache"? im stuck here lol

    i have read the guide here:

    and here:

    while i never had any error after adding those codes to my .htaccess but apparently it doesn't change anything in my speed test report

    i know this might be one minor factor in on-page SEO but i still want to get better score especially after knowing my competitors have better score too here in speed test.
    • Thanks Thanks x 1
  2. ritesh

    ritesh Senior Member

    Oct 26, 2009
    Likes Received:
    Specify expiry time for header and images using htaccess.It should increase your speed by 20% atleast.
    • Thanks Thanks x 1
  3. -Rahul-

    -Rahul- Newbie

    Dec 15, 2011
    Likes Received:
    Put these codes in your htaccess

    <IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault A600
    ExpiresByType image/x-icon A2592000
    ExpiresByType application/x-javascript A604800
    ExpiresByType text/css A604800
    ExpiresByType image/gif A604800
    ExpiresByType image/png A604800
    ExpiresByType image/jpeg A604800
    ExpiresByType text/plain A86400
    ExpiresByType application/x-shockwave-flash A2592000
    ExpiresByType video/x-flv A2592000
    ExpiresByType application/pdf A2592000
    ExpiresByType text/html A600

    # 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

    And then check ..... if it doesnt work then you need to ask your web hosting company to allow mod_expire, mod_gzip otherwise change your web hosting. And you will find this is really good to configure on your website. I always do these on my websites.
    • Thanks Thanks x 1