I am using the Woocommerce Geoloate with page caching support, which adds the ?v=xxxxxxxxxxxx to the URL.
Unfortunately having the following code below for skip_cache causes this to bypass all pages due to the query string;
if ($query_string != "") {
set $skip_cache 1;
}
Is there a way to make it work, so it caches the pages and would there be any issues with something else if it was cached?
I have tried the following, but it seems to HIT when I have items in the cart, so it seems to ignore the other nginx rules below it or above it which isnt a good thing;
if ($query_string !~ =v) {
set $skip_cache 0;
}
Thanks