Browse the Ruby on Rails Community.

You are here: Browse Projects Action cache layout plugin

Action cache layout plugin


Location: Brazil, São Paulo


In almost all Rails applications, the layout contains dynamic information like the username or the number of items in a cart. But since caches_action method always caches the layout with the action content, You cannot use it to cache Your products pages in an e-commerce store, cause it means caching the cart within that page.

Action cache layout enables the caching of actions without layout in Rails. By setting :without_layout => true, none of the layout is cached, allowing You to provide some dynamic, user-specific content while reducing DB loads and rendering times.

If You got Yourself using fragment cache in a whole action, this plugin is for You! =)


Homepage: http://code.google.com/p/action-cache-layout/

People Involved


See all details


Membership

You may join by invitation only


Record Maintainer

José Valim