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

Please visit our partners

Windows Technology Windows Technology
15 Seconds
ASP 101
ASP Wire
VB Forums
VB Wire
internet.commerce internet.commerce
Partners & Affiliates

ASP 101 is an site
ASP 101 is an site
Internet News
Small Business
Personal Technology

Corporate Info
Tech Jobs
E-mail Offers

ASP 101 News Flash ASP 101 News Flash

 Top ASP 101 Stories Top ASP 101 Stories
VBScript Classes: Part 1 of N
Migrating to ASP.NET
Getting Scripts to Run on a Schedule

On Error Don't Resume Next
Show All Tips >>
ASP 101 RSS Feed ASP 101 Updates

Quick Tips

Using Response.CacheControl
Normally ASP pages are considered active content. That's sort of the whole point of the name Active Server Pages. There are times, however, when it is desirable to use ASP to generate a page and yet its content doesn't change very often. It's this type of situation when caching can really boost the perceived speed of your site.

By default most proxy servers won't cache dynamic content including your ASP pages. If you have a script in which the information rarely changes, try placing the following line at the top of your ASP script.

Response.CacheControl = "Public"

It'll really help boost your site's apparent speed for users who visit your site from behind a proxy.
Previous      Show All Tips      Next

If you have a tip you would like to submit, please send it to:

Home |  News |  Samples |  Articles |  Lessons |  Resources |  Forum |  Links |  Search |  Feedback
The Network for Technology Professionals



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