Module: MemcachesPage
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/memcaches_page.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#memcache_page(options = {}) ⇒ Object
20 21 22 23 |
# File 'lib/memcaches_page.rb', line 20 def memcache_page( = {}) return unless self.class.perform_caching && caching_allowed? && !request.params.key?('no-cache') self.class.memcache_page(response.body, request.fullpath, ) end |