Re: Caching everything and only refetch on client request

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 29 Jul 2009 13:06:12 +1200

On Tue, 28 Jul 2009 15:44:47 -0700 (PDT), Thibaut_ <tbritz_at_blue.lu> wrote:
> Hello Henrik,
>
> Yes I want to do exactly that.
>
> The squid instances serve as cache for a distributed application. As it
> happens that I need the same page multiple times on different servers and
> will request the page multiple times (I make sure that the requests are
> routed to the same squid instance), I only want to make one request per
> page
> to the original webserver, or refresh the page explicitely in squid's
cache
> by specifying the Pragma:No-cache.
> No humans or other applications will ever use the cache.
>
> Thanks,
> Thibaut

Then have the generating server add an Expires: header with date one year
in the future.
It really is as simple as that.

Amos
Received on Wed Jul 29 2009 - 01:06:18 MDT

This archive was generated by hypermail 2.2.0 : Wed Jul 29 2009 - 12:00:09 MDT