dcsimg
Login | Register   
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Tip of the Day
Language: Web
Expertise: Advanced
Mar 23, 2000

WEBINAR:

On-Demand

Application Security Testing: An Integral Part of DevOps


Control How a Page is Cached

A proxy server reduces the amount of time spent retrieving documents over the Internet. It does this by caching, or storing, the document in memory and then serving it from memory the next time a client tries to retrieve the page. This can cause problems with Active Server Pages (ASP) because of their dynamic nature.

By default, Internet Information Server (IIS) sends Web pages with headers that tell proxy servers not to cache their documents. If you need to change this, you can by placing this line of code at the top of your ASP page:

 
<% Response.CacheControl="Public" %>

This code will allow all proxy servers that retrieve the page to save it in their local memory and improve the speed at which it can be retrieved.

Manoj Singh
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
×
We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date