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

Reply via email to