Re: Issues-list item "CACHING-CGI"

Jeffrey Mogul (mogul@pa.dec.com)
Thu, 17 Apr 97 15:07:06 MDT


I wrote:

> While simply adding "Cache-control: public" to a response does
> imply that it is cachable, this doesn't say enough.  I.e., how
> long is the response "fresh"?  It seems more useful, in general,
> to use
> 	Cache-control: max-age=3600
> (or whatever), since this also implies cachability, but it also
> gives more explicit information to the cache.

Drazen Kacar <dave@public.srce.hr> writes:

    What if freshness is infinite?

Then send something like
	Cache-control: max-age=99999999
which isn't exactly "infinite", but (at about 3 years) is close
enough for any realistic cache.

-Jeff