> 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, [EMAIL PROTECTED] ; 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".

Reply via email to