Pages load faster

Pages load faster

By admiinMonday - November 3rd, 2008Categories: Semua, SesawangTags:, ,

rakaz – Make your pages load faster by combining and compressing javascript and css files

Make your pages load faster by combining and compressing javascript and css files

The idea is that you have one directory for css files and one directory for javascript files on your server. If you rewrite the URLs that point to these directories to a small script that intercepts the requests for those files. The script loads the file from disk and compresses it using gzip. It then sends that compressed file back to the browser. Given that javascript and css files compress really well this will greatly decrease the size of the data that is going to be transferred and thus decrease the time needed to download these files. Because this works completely transparently you do not need to change anything in your existing code.

Google Buzz

  • Photo Like Painting!


  • Recent Comments

  • Categories


  • Blog Network:
  • Freelance Rockstar
    tweet
    PeKOMIK.com
    Namecheap
    SiteGround
    Tuts+
    Autoresponder