kornel,
@kornel@mastodon.social avatar

content negotiation has some unwritten rules for images. Accept: image/png, */* technically allows image/avif, but that’s not a wise interpretation.
Except what a caching proxy is supposed to do when the origin only sends AVIF?

magila,

@kornel If the origin only sends avif then the proxy serves avif and if the eyeball complains you point them to the origin.

Caching proxies are always at the mercy of the origin. Typically they just parrot whatever response the origin gave for a request with the applicable header values. That's assuming they don't just ignore vary and serve everyone with whatever the origin served for the last cache miss.

kornel,
@kornel@mastodon.social avatar

@magila The hard part here is Accept normalization. Being truly transparent and going to the origin for every single variation of Accept is costly. But as soon as the proxy starts to negotiate itself, the negotiation algorithm becomes tricky.

deshipu,
@deshipu@fosstodon.org avatar

deleted_by_author

  • Loading...
  • tbroyer,
    @tbroyer@piaille.fr avatar

    @deshipu @kornel isn't that what CDNs are?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • provamag3
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • megavids
  • Leos
  • cisconetworking
  • JUstTest
  • lostlight
  • All magazines