Purge specific object, not all variants

Danila Vershinin ciapnz at gmail.com
Tue Feb 14 22:37:52 CET 2017


Theoretical question. Supposedly I want to introduce Vary: by device classification: mobile / desktop (via devicedetect etc.)
How would I go around purging just the specific variant of an object,  i.e. purge a page for mobile only?

The documentation here: http://book.varnish-software.com/4.0/chapters/Cache_Invalidation.html <http://book.varnish-software.com/4.0/chapters/Cache_Invalidation.html>
Mentions that all methods will purge all variants.

Is it wrong? Do I correctly understand that forced cache miss is the single method that allows to purge specific variant of an object?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20170215/ecd3e5bd/attachment.html>

More information about the varnish-misc mailing list