I wanted to know what is the  correct syntax to only want to cache Get and Head 
if req.method. I used this  and O got and error when I checked the syntax.

If (req.method ! = "GET"  && req.method ! =  "HEAD") {
  Return (pass);
}

Does this need to inserted in a particular place


This email (including any attachments) may contain confidential information 
intended solely for acknowledged recipients. If you think you have received 
this information in error, please reply to the sender and delete all copies 
from your system. Please note that unauthorized use, disclosure, or further 
distribution of this information is prohibited by the sender. Note also that we 
may monitor email directed to or originating from our network. Thank you for 
your consideration and assistance. |
_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to