2 ms·
I think you mean for CDN-cached content, right? The accept header is passed along, so your server can respond however it wants for dynamic content/not cached b
by judge2020 3y ago
I think you mean for CDN-cached content, right?
The accept header is passed along, so your server can respond however it wants for dynamic content/not cached by CDN.
- acdha 3y agoYes - this can be a big problem if it means that users get a cached response which isn’t compatible with their browser. It can also mean that you lose cache efficiency if you don’t get a ton of traffic - one site I worked on would’ve gotten much slower if they used WebP because it would have increased your odds of not getting a CDN-cached response, and the ~10-15% byte size savings just wasn’t worth that.