Advertisements
Posted : Tuesday, December 8, 2009
A proxy server is used to reduce the amount of time spent retrievingdocuments over the Internet. It does this by caching, or storing, thedocument in memory and then serving it from memory the next time aclient tries to retrieve the page. This can cause problems with ActiveServer Pages because of their dynamic nature.
By default, IIS sends web pages with headers that tell proxy serversnot to cache their documents. If you need to change this, you can byplacing the following line of code at the top of your ASP page:
<% Response.CacheControl="Public" %>This will allow all proxy servers that retrieve the page to save it intheir local memory and improve the speed at which it can be retrieved.
|