Web Application Performance

Compress your web pages

When optimizing web performance, most consideration is given to reduce number and file size of images, CSS and JS etc., and less consideration is given to size of HTML being sent to browser, called “document size”. Optimizing document size can be very beneficial. There are two ways you can reduce the document size Reduce HTML [...]

Why specify image dimensions

Some times for connivance webmasters don’t specify dimensions of images (using height and with attributes). If thumbnails of user uploaded image are created proportionally it become difficult to specify a fixed size of an image as one dimension may be smaller then other. See in example page here image dimensions in listing are not specified [...]

Using browser cache image expiry for performance

Browser cache for images is a great feature and potential area of improvement to enhance web page performance. We can tell browser to use images from cache and should not request these from server until they expire. Apache server makes it really easy to add expiry time for images through .htaccess file. As images used [...]

Serve static content from a cookieless domain

To improve web page performance it is good idea to serve static content from a cookieless domain. What is Cookies less domain? Domain which don’t require any cookies from client to serve the request is called cookie less domain. For example if we need to serve static images, there is no need to get or [...]