Generate correct ETags when sending Git blobs
Calling `#stale?` already generates and sets the response ETag so we should not set it manually. Setting it manually actually broke caching because Rails now has extra validators that is combined with the `blob.id` that we provide. https://github.com/rails/rails/blob/v6.0.3.3/actionpack/lib/action_controller/metal/conditional_get.rb#L277
Showing
Please register or sign in to comment