module ActiveFedora::LdpCache::ClassMethods
def cache(&block)
Enable the query cache within the block if Active Fedora is configured.
def cache(&block) connection = ActiveFedora.fedora.connection connection.cache(&block) end
def uncached(&block)
Disable the query cache within the block if Active Fedora is configured.
def uncached(&block) ActiveFedora.fedora.connection.uncached(&block) end