Compression: the simple, powerful upgrade for your web stack
At LaunchDarkly, we’re super focused on keeping our app snappy and fast. Given our product, we take responsibility for making sure that our users are able to quickly find the session/error/trace that identifies an issue as fast as possible.
Recently, we’ve been experimenting with quite a few methods to speed up larger request payloads on our GraphQL endpoints, and we found that compression has done wonders. Below, I’ll share an overview of compression in the modern web stack as well as some code that can get you started!
The `”/*”` means to compress all content types that can be compressed. These are the supported types:
That’s it, congrats on the easy performance win for you and your users!