Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Autotomicly add HTTP Cache-control header when caches_action expires_in specified
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib Update header options
.gitignore Delete Gemfile.lock
.travis.yml travis
Gemfile init
LICENSE Update document
README.md Update README.md
Rakefile travis
rails-cache_control.gemspec Delete Gemfile.lock

README.md

rails-cache_control

Gem Version Build Status Dependency Status Code Climate

Automatically add HTTP Cache-control header when caches_action :expires_in specified.

Requirements

  • Ruby ~> 2.0
  • Rails ~> 4.0
  • actionpack-action_caching ~> 1.1

Installation

Include the gem in your Gemfile:

gem 'rails-cache_control'

Usage

Do nothing.

Credits

License

Copyright © 2014 Jianqiu Xiao swordray@gmail.com under The MIT License.

Something went wrong with that request. Please try again.