skip to Main Content

Varnish response based on Cookie – Woocommerce

I have the following Varnish configuration: # Default backend definition. Set this to point to your content server. backend default { .host = "127.0.0.1"; .port = "8080"; } sub vcl_hash { if (req.http.cookie ~ "wordpress_logged_in_[a-z0-9]+") { set req.http.X-TMP = regsuball(req.http.cookie,…

VIEW QUESTION
Back To Top
Search