Skip to content

tkawa/rendering_caching

 
 

Repository files navigation

rendering_caching

Rendering caching like traditional action caching but with the functionality of fragment caching.

Installation

Add this line to your application's Gemfile:

gem 'rendering_caching'

And then execute:

$ bundle

Usage

class ListsController < ApplicationController
  before_action :authenticate

  caches_rendering :index, :show
end

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 a new Pull Request.

Code Status

  • Build Status

About

Rendering caching like traditional action caching

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 100.0%