[Varnish] #857: ESI includes don't account for manually timed out files
Varnish
varnish-bugs at varnish-cache.org
Thu Feb 3 14:54:30 CET 2011
#857: ESI includes don't account for manually timed out files
------------------------+---------------------------------------------------
Reporter: dhelkowski | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: 2.1.4 | Severity: normal
Keywords: |
------------------------+---------------------------------------------------
Comment(by dhelkowski):
Note that there is a double vertical bar in the last if statement
connecting the two conditions, but it got stripped out due to my not using
a code block; eg, it should be:
{{{
if( req.url ~ "\.ehtml$" || beresp.http.Content-Type == "text/ehtml" ) {
set beresp.http.Content-Type = "text/html";
esi;
}
}}}
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/857#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list