I’ve just checked in three fixes for the action_cache plugin.
- Don’t send cookie headers when serving cached responses (the original response will be untouched)
- Always use 2 cache fragments for action cache entries. This avoids the escape/unescape overhead for the body and speeds cache serving up and reduces the code complexity a little
- Remove use of the returning method. Older versions of Rails don’t have this method.
I’ve also added a specific page to this site for details about the action_cache
Thanks to Paul Haddad and Timur Vafin for bug reports.