ASP 101 - Active Server Pages 101 - Web06
The Place ASP Developers Go!



Windows Technology Windows Technology
15 Seconds
4GuysFromRolla.com
ASP 101
ASP Wire
VB Forums
VB Wire
WinDrivers.com
internet.commerce internet.commerce
Partners & Affiliates
ASP 101 is an
internet.com site
ASP 101 is an internet.com site
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash



 Top ASP 101 Stories Top ASP 101 Stories
Connections, Commands, And Procedures
What is ASP?
VBScript Classes: Part 1 of N

QUICK TIP:
Multifaceted image maps
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates


Quick Tips


Cache HTTP Requests

It's not uncommon these days for your web site to include lots of different types of information from lots of different sources. If it's not already, one of these sources will probably soon be a remote web server. While this type of information exchange can be a valuable asset, it can also be quite a bottleneck.

With client internet connections getting faster every day, slow response times can really hurt your site's perceived quality. If you're making an HTTP request with every request it's almost certainly slowing things down.

Luckily many things are much faster then making a connection to another server. These include application variables, the file system, and local databases. Storing information in one of these locations when you initially retrieve it and using it for future requests can dramatically speed things up.

While this obviously won't work for applications that require real-time data exchange, for many applications it works great. Even a relatively short caching time (like 15 minutes) can have a dramatic effect on a high traffic site. If you serve 100 pages in those 15 minutes then you've saved making 99 slow requests to the remote server!


Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to: webmaster@asp101.com.


Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers