Skip to content

Converts strong e-tags to weak

License

Notifications You must be signed in to change notification settings

OpenGov/rails_weak_etags

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Converts strong e-tags to weak

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 76.0%
  • HTML 18.9%
  • JavaScript 2.7%
  • CSS 2.4%