On Mon, 6 Jun 2005, Peter Zechmeister wrote:
> - Squid must not cache pages, where Authorization Header is set, but it
> does in the moment and so pages which have the same url but behave
> different when entered anonymous or autorized are mixed up.
> Can anybody tell me how to fix this?
This is a common design error in many web applications.
If there is a public cacheable object on an URL then there must not be
personalized or protected variants on the same URL. Exception is if the
conditions for when a personalized/protected variant is returned can be
expressed via the Vary header.
The Authorization restriction only goes the other way, making sure that
the cache won't cache content requiring Authorization as if it was public
content not requiring Authorization.
Regards
Henrik
Received on Wed Jun 15 2005 - 17:45:48 MDT
This archive was generated by hypermail pre-2.1.9 : Fri Jul 01 2005 - 12:00:02 MDT