Rodrigo Lacerda ← Cloudways Customer Voice My feedback Please enable device detection in Varnish 47 votes Vote Vote Vote We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close Vote We’ll send you updates on this idea 26 comments · Service Improvement » Wordpress · Flag idea as inappropriate…Flag idea as inappropriate… · Delete… · Admin → How important is this to you? Not at all You must login first! Important You must login first! Critical You must login first! We're glad you're herePlease sign in to leave feedback Signed in as (Sign out) Close Close An error occurred while saving the comment Rodrigo Lacerda commented · May 11, 2017 · Edit… · Delete… You can add header "Vary: User-Agent" to your application. It isn't the best solution because each different version browser will serve a different cache, but it'll work for you at now. A solution like the link below would be close to ideal. https://spin.atomicobject.com/2013/02/11/varnish-cache-mobile-devices/ Save Submitting... Rodrigo Lacerda supported this idea · May 11, 2017
You can add header "Vary: User-Agent" to your application. It isn't the best solution because each different version browser will serve a different cache, but it'll work for you at now.
A solution like the link below would be close to ideal.
https://spin.atomicobject.com/2013/02/11/varnish-cache-mobile-devices/