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

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Wed, 11 Aug 2004 11:51:57 +0200

> 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.

On 11.08 09:55, Henrik Nordstrom wrote:
> 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.

so, IIUC, combination of these two can help me somehow fetch all and only
the cache content?

Cache-Control: only_if_cached, max-stele

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"The box said 'Requires Windows 95 or better', so I bought a Macintosh".
Received on Wed Aug 11 2004 - 03:52:01 MDT

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