I need to cache this request with varnish, but i need to ignore the last query parameter
I am not sure how varnish internally works, but i suppose it makes the cache uid key from the url requested. So in my case it would need it only to create the uid key from this url
Doing something like
req.url ~ "^/swatches/(.*)$" would not work as varnish would still use the entire url for cache uid.