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.

Sponsors

License

Copyright © 2014 Jianqiu Xiao [email protected] under The MIT License.