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

Middleware ordering #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

jjb
Copy link

@jjb jjb commented Jun 1, 2013

see commit message

jjb added 3 commits June 1, 2013 11:18
For apps running with `config.threadsafe!`, there is no `Rack::Lock`.

Also, this is the default in Rails 4:

  http://tenderlovemaking.com/2012/06/18/removing-config-threadsafe.html

My rationale for after `ActionDispatch::Static` is that it's unlkely
that any asset will be accessed with www, as this isn't the sort
of thing a user types manually. It's also typically in the same position
as "before Rack::Lock", so it's a minimal behavior change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant