Speed up your Web Application with JS/CSS compression

Programmer all want their application to be faster and more responsive. This is specially important in Web environment. As we demand more functional and feature from our application, Javascript and CSS files will grow in size, this will impact the performance of the application.

I have discover a wonderful script that will compress JS and CSS on the fly. It uses RewriteEngine to redirect browser looking for JS and CSS file to a PHP script file. It is very easy to implement and transparent to the existing application. No change is required on the existing application. The script also cache compression result in cache directory. I manage to improve 50% vTiger CRM’s Main Page loading time. It is a huge performance increase with so little effort. The wonderful tool is located at http://farhadi.ir/jsmart.html

If you are developing your own application, it is a no brainer if you don’t compress JS and CSS files before sending it across the Internet to the user browser. It would gain better performance, if the compression is automatically in your application rather than using rewrite engine to redirect js/css to compression script on the web server.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • LinkedIn
  • NewsVine
  • Reddit
  • RSS
  • Slashdot
  • StumbleUpon
  • Technorati
  • Twitter
  • Yahoo! Bookmarks

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

6 Comments »

 
 

Leave a Reply

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