Don't Be Part of the Web 2-point-SLOW

As web applications evolve to provide the rich user experience that was once the sole domain of desktop applications, their CSS and JavaScript files have grown in size and number. Since a web page won't even render under its CSS and JavaScript files have been loaded, each one of these files slows down the application a little.

The solution put forth by Wormly's site is simple: consolidate and cache. In other words, gather all your CSS into a single .css file and gather all your JavaScript into a single .js file. That way, only two resources are required before page rendering starts, and two simultaneous downloads is well within the limits of most browsers. Serving the necessary HTTP headers alongside these files encourages the browser and the proxy server to cache them aggressively, meaning more perfomance gains.

Comments
Post a comment
No comments found.
Post comment:
Format Type: 
  Convert newlines
  Receive comment notifications for this article
Subject: 
   
insert bold tagsinsert italic tagsinsert underline tagsinsert strikethough tagsinsert linkinsert blockquote tags
Comment: 
Comment verification:

Please enter the text you see inside the graphic to post your comment:
You are not currently logged in. If you would like your user information to be displayed with your comment, please enter your login information below.
Login information:
Username: 
Password: 
If you would like to post contact information on your comment, please enter your information into the optional fields below:
Contact information:
Name: 
URL:  example: http://yourdomain.com
Email: 
Please note: email will not be displayed on the site, only for the blog owner. If logged in, URL will only be used.