Module: PagesCore::StaticCache

Defined in:
lib/pages_core/static_cache.rb,
lib/pages_core/static_cache/null_handler.rb,
lib/pages_core/static_cache/varnish_handler.rb,
lib/pages_core/static_cache/page_cache_handler.rb

Defined Under Namespace

Classes: NullHandler, PageCacheHandler, VarnishHandler

Class Method Summary collapse

Class Method Details

.handlerObject



10
11
12
# File 'lib/pages_core/static_cache.rb', line 10

def handler
  PagesCore.config.static_cache_handler || default_handler
end