Skip to content

Instantly share code, notes, and snippets.

@metaskills
Created May 31, 2021 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaskills/363e39e2e8cbccf280b5d5804b384bd2 to your computer and use it in GitHub Desktop.
Save metaskills/363e39e2e8cbccf280b5d5804b384bd2 to your computer and use it in GitHub Desktop.
Using Rack Deflater in Lambda with Rails
# In config/environments/production.rb
config.middleware.insert_after ActionDispatch::Static, Rack::Deflater, sync: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment