Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AD::Static refactor with precompressed Brotli support #38674

Merged
merged 2 commits into from Jun 1, 2020

Conversation

jeremy
Copy link
Member

@jeremy jeremy commented Mar 7, 2020

Building on code in #29753. Refactoring to clarify the relationship between Static (middleware that tries to serve and falls back to app), FileHandler (endpoint that mediates some content negotiation), and Rack::File (endpoint that serves negotiated file content), and to accommodate encoding negotiation.

@rails-bot rails-bot bot added the actionpack label Mar 7, 2020
@jeremy jeremy changed the title AD::Static refactor with recompressed Brotli support AD::Static refactor with precompressed Brotli support Mar 7, 2020
@jeremy jeremy force-pushed the brotli branch 2 times, most recently from 2754567 to eab53cc Compare March 7, 2020 10:28
@morgoth
Copy link
Member

morgoth commented Jun 1, 2020

@jeremy Is there anything more needed to get this PR merged? It is still marked as draft.

@jeremy jeremy marked this pull request as ready for review June 1, 2020 15:55
@jeremy jeremy added this to the 6.1.0 milestone Jun 1, 2020
Ryan Hall and others added 2 commits June 1, 2020 08:57
When using an external build process (webpack, grunt) it's helpful for
rails to be able to serve those assets. Brotli has better compression
than gzip and should eventually replace it for static assets.

When using an external build process (webpack, grunt) it's helpful for
rails to be able to serve those assets. Brotli has better compression
than gzip and will eventually replace it for static assets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants