[Varnish] #282: varnish cashes a temporary redirect
Varnish
varnish-bugs at projects.linpro.no
Fri Jul 25 14:02:16 CEST 2008
#282: varnish cashes a temporary redirect
----------------------+-----------------------------------------------------
Reporter: wichert | Owner: phk
Type: defect | Status: new
Priority: normal | Milestone: Varnish 2.0 release
Component: varnishd | Version: trunk
Severity: normal | Resolution:
Keywords: |
----------------------+-----------------------------------------------------
Comment (by wichert):
r3019 should indeed help. The reponse Plone sends when you try to access
an object for which you are not authorised look like this:
{{{
HTTP/1.x 302 Moved Temporarily
Server: Zope/(Zope 2.10.6-final, python 2.4.4, darwin) ZServer/1.1
Plone/3.0.6
Date: Fri, 25 Jul 2008 11:58:40 GMT
Bobo-Exception-Line: 808
Content-Length: 2417
Bobo-Exception-Value: See the server error log for details
Content-Language: en-us
Content-Encoding: gzip
Bobo-Exception-File: ImplPython.py
Bobo-Exception-Type: Unauthorized
Expires: Sat, 1 Jan 2000 00:00:00 GMT
Vary: Accept-Encoding
X-Ksscommands: <?xml version="1.0"?> <root
xmlns:kukit="http://www.kukit.org/commands/1.0"> <kukit:commands>
<kukit:command name="error"> <kukit:param
name="type">system</kukit:param>
Content-Type: text/html;charset=utf-8
Location:
http://localhost:8080/plone/acl_users/credentials_cookie_auth/require_login?came_from=http%3A//localhost%3A8080/plone/frontpage_view
}}}
We should probably add an explicit ''Cache-Control: no-cache'' header to
that response as well.
--
Ticket URL: <http://varnish.projects.linpro.no/ticket/282#comment:5>
Varnish <http://varnish.projects.linpro.no/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list