How to set Varnish so that it doesn't cache URL -


i need export csv url: http://domain.com/nextopia/products/csv/key/5213ae8cdcb0270226dc816e3838eac0

after waiting error time out:

error 503 service unavailable service unavailable varnish

i have tried:

if (req.http.host == "domain.com" && req.url == "/nextopia/") {     return (pass); } 

and:

if (req.url ~ "^/nextopia/") {   return (pass); } 

and:

.first_byte_timeout = 600s; .between_bytes_timeout = 600s; 

but not effective, how export it??!! :(

the ~ matching need match url, like:

if (req.url ~ "/nextopia") {     return (pass); } 

without using regex roof. req.url == "/nextopia/" match of exact /nextopia/ /nextopia wont match..

have check logs see if there error timeouts and/or other errors? cheers


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -