Good point. The application should set the Vary header, not Varnish.