Cacheable::contentControllerInit
Initialises a pre-built cache (via {@link CacheableNavigation_Rebuild}) used by front-end calling logic e.g. via $CachedData blocks in .ss templates unless build_on_reload is set to false in YML config.
Called using SilverStripe's extend() method in .
Signature
public function contentControllerInit(Controller
$controller )
Parameters
$controller
— object
Returns
- void
Line | Task |
---|---|
35+ | add queuedjob chunking ala BuildTask to this csche-rebuild logic. At the moment we attempt to skip it if build_cache_onload is set to false in YML Config |