cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hannes Haug <Han...@Haug.com>
Subject Re: Cache
Date Mon, 24 Jan 2000 20:14:27 GMT
Pierpaolo Fumagalli wrote:
> 
> I bet that for checking cache, proxies issue a HEAD command instead of a
> GET or POST, if they can do it, and in case of HEAD requests, we need to
> specify that the document wasn't changed.

It's a GET with a If-Modified-Since header or something similar.

> There are three cases:
> 
> 1) The document need to be generated (generate the whole stuff)
> 2) The document is cached but not proxied (send content in cache)
> 3) The document is cached and proxied (just reply that it didn't change)

Why do we need 2) at all?

 -hh

Mime
View raw message