esmq2092 opened a new issue #7459: URL: https://github.com/apache/trafficserver/issues/7459
As we known,origin servers will not send any `Vary` header when response to ordinary requests for images. and I found that when ats had image files cached in original encoding ( such as jpeg or png ),it will return cached object directly without doing webp transform, even client support webp. the following two methods can enforce webp transform,but either are not perfect. 1. change proxy.config.http.cache.ignore_accept_mismatch from 2 to 1 ( not safe ) 2. enforce origin server return Vary: Accept headers for images files ( cause cache miss ) i wonder is there any way to do it better。。。 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
