Action caching for Action Pack

на сайте с December 12, 2022 04:45
Action caching for Action Pack (removed from core in Rails 4.0). Action caching is similar to page caching by the fact that the entire output of the response is cached, but unlike page caching, every request still goes through Action Pack. The key benefit of this is that filters run before the cache is served, which allows for authentication and other restrictions on whether someone is allowed to execute such action.