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

Please visit our partners


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
VBScript Classes: Part 1 of N
Migrating to ASP.NET
Getting Scripts to Run on a Schedule

QUICK TIP:
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: 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