24 Jan '14, 1am

protected method定義なんだから無理なんですよね

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. Example:

Full article: http://api.rubyonrails.org/v3.2.13/classes/ActionControll...

Tweets