48 function startCache( $cacheExpiry =
null, $cacheEnabled =
null );
Interface for all classes implementing CacheHelper functionality.
setExpiry( $cacheExpiry)
Sets the time to live for the cache, in seconds or a unix timestamp indicating the point of expiry....
setCacheEnabled( $cacheEnabled)
Sets if the cache should be enabled or not.
getCachedValue( $computeFunction, $args=[], $key=null)
Get a cached value if available or compute it if not and then cache it if possible.
saveCache()
Saves the HTML to the cache in case it got recomputed.
startCache( $cacheExpiry=null, $cacheEnabled=null)
Initializes the caching.