Re: Is it possible to cache ASP pages?

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 25 Apr 2000 01:00:24 +0200

There is a icon on www.squid-cache.org which brings you to some pages
about cacheability.. and the check engine gives very useful feedback on
why a page is (not) cached.

The book I referenced was a ASP bootstrapper/reference book (ASP in a
nutshell), mostly what you already have in the IIS help but on paper.

--
Henrik Nordstrom
Squid hacker
Hillel Bilman wrote:
> 
> Hi
> 
> Thanks for this great reply.
> 
> Where can I find info on the options available for setting up
> headers, so squid will cache the pages?
> 
> Also you mentioned a book below, can you recommend a good book on
> this topic?
> 
> Thanks, any help appreciated
> 
> On Sat, 01 Apr 2000 23:26:38 +0200, you wrote:
> 
> >Yes, by changing the ASP application to return the appropriate headers.
> >In the response object you must set both cache-control to public, and a
> >expire time.
> >
> >At close to the top of the ASP file (before any HTML content):
> >
> ><%Response.CacheControl="public"%>
> ><%Response.Expires=1440%>
> >
> >Enables the page output to be cached in a shared cache (proxy) for up to
> >1 day (1440 minutes). See also the ExpiresAbsolute response property.
> >According to a book I have the expiry time can be set from the directory
> >properties in MMC, but I have not tried that myself. In any case the
> >CacheControl tag is needed to make the page cachable.
> >
> >Also make sure you do not block caching for the content with the
> >no_cache tag in squid.conf.
Received on Mon Apr 24 2000 - 17:34:38 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:53:02 MST