Re: [squid-users] getting an object without validation

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 11 Aug 2004 09:55:04 +0200 (CEST)

On Wed, 11 Aug 2004, Diego Woitasen wrote:

> how can I do a request to get an object in cache without validation?
>
> I need this because I am writing a program that need access to squid
> cache objects without validation if the object exists in cache.

You can tell Squid to only use cached content by using the
"Cache-Control: only_if_cached" header.

You can also tell Squid that you accept stale content by using the
"Cache-Control: max-stale" header.

Then there is also the offline mode of Squid.

Regards
Henrik
Received on Wed Aug 11 2004 - 01:55:07 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:02 MDT