Rack::Hackery
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'rack-hackery'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-hackery
What's included
Currently, the only thing here is a modified version of Rack::ETag
that's supposed to fix the ugly Safari 7/8 ETag
caching problem.
Usage
In in either config/application.rb
or config/environments/{development,production}.rb
:
config.middleware.swap Rack::ETag, Rack::Hackery::ETag
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new pull request