ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Two Servlet Filters Every Web Application Should Have
Subject:   Reducing Connections
Date:   2003-12-03 17:06:30
From:   jfalkner
Response to: Reducing Connections

You can do this a few ways. The method I most commonly use is to simply let the client's browser cache things such as images, css pages, javascript files, and whatever else it can. See a few more posts down for more information about client-side caching. However, most browsers automatically try to optimize this.


About reducing connections. Yeah it is a good idea, and as I recall the HTTP 1.1 spec lets a web browser do just that. Again, this is something that most of the time browsers do on their own and it tends to work well. There really isn't anything you should do on the server-side. Although I might be wrong, anyone have a suggestion?