You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I pushed an app that demonstrates the crash here. The first commit is a clean app after rails new. Subsequent commits add the working controller action then introduce caching to reproduce the crash.
The text was updated successfully, but these errors were encountered:
That said, despite the need for a gem/library like this one, the community doesn't seem to have much support behind this and would rather use header tags for most caching needs. Unfortunately, I see this issue was posted 9 months ago and was never addressed. The problem is this gem no longer solves caching files that will never change and should be cached with a store that is faster than some CDN. There are alternatives, but not when you're using Heroku (or any server with an ephemeral file system) and not without unnecessary complexity.
Environment
Description
When I attempt to use
caches_action
on an action that sends a file usingsend_file
I get the following nil error:Repro
I pushed an app that demonstrates the crash here. The first commit is a clean app after
rails new
. Subsequent commits add the working controller action then introduce caching to reproduce the crash.The text was updated successfully, but these errors were encountered: