actionpack-action_caching
actionpack-action_caching copied to clipboard
Action caching for Action Pack (removed from core in Rails 4.0)
I added this to my project and its working fine but I am having a problem expiring the cache my controller looks like ``` class PostsController < ApplicationController caches_action :show...
On apps with controllers that only use the default CRUD actions it is quite common to extract the action caching logic to a concern to be able to the share...
Checking if Rails is defined then load the railtie file
This PR allows using lambdas in the store options that allow using versioning cache
I'm not sure if this addition would be useful to anyone else, but it's something that my current employer could definitely use. We have an endpoint that is very expensive...
Hi, we have a case where we want to cache a redirect_to ( status 302 ) response for a few hours. Based on my search, I think this is not...
Fixing https://github.com/rails/actionpack-action_caching/issues/64 So the problem is that read_fragment calls `html_safe` on the content string but save_fragment doesnt do that. So on the first call the content string gets piped to...
Hey, im having an issue after upgrading from Rails 4.2 to Rails 5.2.2. My setup: ```ruby class PagesController < ApplicationController caches_action :show, layout: false, expires_in: 1.day def show @page =...
`before_action` filters placed after the `caches_action` directive (or in a subclass) will not run when serving from the cache.
# Environment * Windows 10 * ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32] * Rails 5.0.6 * actionpack-action_caching 1.2.0 # Description When I attempt to use `caches_action` on an action that...