Edent,
@Edent@mastodon.social avatar

Anyone here know if has a way to support compression?

Answers to https://github.com/symfony/symfony/discussions/51074 - greatly appreciated!

dracos,
@dracos@mastodon.social avatar

@Edent OpenBenches appears to be Symfony, and use a JsonResponse, and does appear to support Brotli?

~ $ curl -s https://openbenches.org/api/bench/4259 | wc -c
1028
~ $ curl -s -H'Accept-Encoding: gzip' https://openbenches.org/api/bench/4259 | wc -c
463
~ $ curl -s -H'Accept-Encoding: br' https://openbenches.org/api/bench/4259 | wc -c
424

So whatever you're doing there? ;-)

Edent,
@Edent@mastodon.social avatar

@dracos this is very weird... I'm seeing it on the command line - but not in the browser

Edent,
@Edent@mastodon.social avatar

@dracos I'm a prat!
The gz is smaller than the br in that instance. My server is being clever and I am being stupid.

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