Optimizing Ajax applications automagically—without manual effort— is the most wanted tool for any developer. There are a few tools invented for that purpose. In this recipe, we'll see a few such automatic tools.
We'll require a web application running over an Apache web server. For automatic optimization, we need the following Apache modules:
mod_deflate, available at http://httpd.apache.org/docs/2.0/mod/mod_deflate.html
mod_expires, available at http://httpd.apache.org/docs/2.0/mod/mod_expires.html
mod_pagespeed, available at http://code.google.com/p/modpagespeed/
We have to install these modules and then set up the configurations for ...