Skip to content
This repository has been archived by the owner on May 20, 2020. It is now read-only.

Rack ETag support #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Rack ETag support #22

wants to merge 1 commit into from

Conversation

jamesarosen
Copy link
Member

Use Rack::ConditionalGet and Rack::ETag. Together, they speed up subsequent requests by returning 304s when the content hasn't been modified.

On some versions of Webrick, they emit a warning. See https://bugs.ruby-lang.org/attachments/2300/204_304_keep_alive.patch

Tenderlove isn't worried, though: https://twitter.com/tenderlove/status/108999110136303617

Use `Rack::ConditionalGet` and `Rack::ETag`. Together, they speed up
subsequent requests by returning 304s when the content hasn't been
modified.

On some versions of Webrick, they emit a warning. See
https://bugs.ruby-lang.org/attachments/2300/204_304_keep_alive.patch

Tenderlove isn't worried, though:
https://twitter.com/tenderlove/status/108999110136303617
@anamartinez
Copy link

Hmm...Etag is removed by the latest nginx upgrade.

@svizzari
Copy link
Member

@anamartinez Will that be a problem for us in comp. env.?

@jamesarosen
Copy link
Member Author

@anamartinez what do you mean? Do you mean nginx no longer supports it? Or that it strips it?

@anamartinez anamartinez closed this Nov 7, 2016
@anamartinez anamartinez reopened this Nov 7, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants