varnish regex
Vitaly Burshteyn
vburshteyn at broadway.com
Wed Nov 10 17:56:43 CET 2010
Hi folks,
I have a set of url's that I need to make sure that varnish does cache.
The url patern looks like this:
Siteurl/r/anynumber
if (req.url ~ "/r/*/") {
return(pass);
}
Or
if (req.url ~ "^/r/\d+/$") {
return(pass);
}
Sorry about this question, but I am not sure how varnish processes regex
values.
Vitaly Burshteyn
Senior Network Engineer
Broadway.com, Theatre Direct International
729 7th Avenue
New York, New York 10019
Phone: 212.817.9117
Cell# 917-701-5732
____________________________________
The information contained in this transmission may contain privileged
and confidential information. It is intended only for the use of the
person(s) named above. If you are not the intended recipient, you are
hereby notified that any review, dissemination, distribution or
duplication of this communication is strictly prohibited. If you are
not the intended recipient, please contact the sender by reply email
and destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101110/5f1f4d25/attachment-0003.html>
More information about the varnish-misc
mailing list