- Issue created by @seanB
- 🇦🇺Australia mstrelan
Wouldn't this mean that the redirect might be cached in the CDN now? FWIW unsupported browsers shouldn't be requesting the AVIF image, the responsive image formatter should take care of that. Is that not working correctly?
- 🇳🇱Netherlands seanB Netherlands
The page cache renders the same HTML for all users. Varying the page cache by the Accept header can lead to a lot of different version of the page cache, making it less efficient. Maybe we could add a very specific custom cache context for specifically the AVIF. I thought about that, but maybe this solution is a bit easier and user friendly. Since it is a 302 temporary redirect this shouldn't be cached.