supabase / postgres

Unmodified Postgres with some useful plugins
https://supabase.com
PostgreSQL License
1.35k stars 136 forks source link

feat: configure Envoy to compress additional response types #1177

Closed darora closed 6 days ago

darora commented 2 weeks ago

Adds a number of Postgrest response types for compression by Envoy.

istarkov commented 2 weeks ago

I can confirm that it works now, given that these changes have been applied to our Supabase project.

However, I noticed that all other responses previously used Brotli compression by default, but now they are using gzip. Support Ticket ID: 3125882163 / Discussion

It’s not a big deal, but Brotli is more commonly used than gzip in our infrastructure. Anyway, we’ve excluded the use of .single() in our code, so we’ll be able to compare the difference between gzip and Brotli using our stats, if it exists and is statistically significant.

darora commented 6 days ago

We're looking into updating out Cloudflare configuration to prefer using Brotli. In the meantime, we'll be merging this in to have the docker images updated.