jsp page cache problem
Jewel Nuruddin
jewel.nuruddin at eastbeam.co.jp
Wed Feb 8 10:13:27 CET 2012
Here is the full configuration of my default.vcl
### Start working for load balance #####
backend web01 {
.host = "10.70.18.10";
.port = "8080";
}
backend web02 {
.host = "10.70.18.11";
.port = "8080";
}
backend web03 {
.host = "10.70.18.12";
.port = "8080";
}
director web round-robin {
{
.backend = web01;
}
{
.backend = web02;
}
{
.backend = web03;
}
}
sub vcl_recv {
if (req.url ~ "\.(png|gif|jpg|swf|css|js|
jsp|html|htm|xml)$") {
return (lookup);
set req.backend = web;
}
}
sub vcl_fetch {
if (req.url ~ "\.(png|gif|jpg|swf|css|js|jsp|html|xml)$") {
unset beresp.http.set-cookie;
}
}
Can you please kindly told me what is my wrong.
This configuration can not cache .jsp file
log is attached
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120208/14b32892/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: varnish.log
Type: application/octet-stream
Size: 18276 bytes
Desc: not available
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20120208/14b32892/attachment-0001.obj>
More information about the varnish-misc
mailing list