How to Speed Up a web site and increase Google pagerank

Hi,

I would like to introduce that how to speed up your page/web site and increase Google page speed rank. This will also help you in SEO.

To check you page speed and Analyze your web site online use following tool

  1. https://developers.google.com/speed/pagespeed/
  2. http://gtmetrix.com/

Main Points for Speed up web sites

  • Make Fewer HTTP Requests
  • Use a Content Delivery Network
  • Add an Expires Header
  • Gzip Components
  • Put Stylesheets at the Top
  • Put Scripts at the Bottom
  • Avoid CSS Expressions
  • Make JavaScript and CSS External
  • Reduce DNS Lookups
  • Minify JavaScript
  • Avoid Redirects
  • Remove Duplicate Scripts
  • Configure ETags
  • Make AJAX Cacheable

Apply following configuration for increase page spped

  1. Compression of JS file and CSS file

    http://refresh-sf.com/yui/#output

     

  2. HTML Code Compression

    http://www.textfixer.com/html/compress-html-compression.php

     

  3. Images Compression

    http://www.smushit.com/ysmush.it/

     

Add this in your web.config (if you have web.config file in your site folder structure)

<system.webServer>

<modules runAllManagedModulesForAllRequests=”true”>

<add type=”CompressionModule” name=”CompressionModule”/>

<add type=”ETags” name=”ETags”/>

<add name=”ScriptModule” preCondition=”managedHandler” type=”System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35″/>

</modules>

<httpCompression directory=”%SystemDrive%inetpub tempIIS Temporary Compressed Files”>

<scheme name=”gzip” dll=”%Windir%system32inetsrvgzip.dll”/>

<dynamicTypes>

<add mimeType=”text/*” enabled=”true”/>

<add mimeType=”message/*” enabled=”true”/>

<add mimeType=”application/javascript” enabled=”true”/>

<add mimeType=”*/*” enabled=”false”/>

</dynamicTypes>

<staticTypes>

<add mimeType=”text/*” enabled=”true”/>

<add mimeType=”message/*” enabled=”true”/>

<add mimeType=”application/javascript” enabled=”true”/>

<add mimeType=”*/*” enabled=”false”/>

</staticTypes>

</httpCompression>

<staticContent>

<clientCache cacheControlMode=”UseMaxAge” cacheControlMaxAge=”365.00:00:00″/>

</staticContent>

<httpProtocol>

<customHeaders>

<add name=”ETag” value=”&quot;&quot;” />

</customHeaders>

</httpProtocol>

</system.webServer>

 

Kushal S. Vora

 

Leave a Reply

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