Skip to content

Autotomicly add HTTP Cache-control header when caches_action expires_in specified

License

Notifications You must be signed in to change notification settings

swordray/rails-cache_control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Autotomicly add HTTP Cache-control header when caches_action expires_in specified

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages