Converts strong e-tags to weak
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
rails_weak_etags.gemspec

README.md

Rails Weak E-Tags

Converts strong e-tags generated by your Rails application into weak e-tags that can be passed through a web server with gzip compression enabled.

Based on this stack overflow question: http://stackoverflow.com/questions/18693718/weak-etags-in-rails

Installation

Add this line to your application's Gemfile:

gem 'rails_weak_etags'

And then execute:

$ bundle

Or install it yourself as:

$ gem install rails_weak_etags

Usage

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request