module Orion::View::CacheHelpers

Direct including types

Defined in:

orion/view/cache_helpers.cr

Macro Summary

Macro Detail

macro cache(object, &block) #

Cache the block, using the object as the key


[View source]
macro cache_if(condition, object, &block) #

Cache the block, if the condition is true, using the object as the key


[View source]