public interface SiteCacheWarmer
Modifier and Type | Method and Description |
---|---|
void |
warmUpCache(SiteContext siteContext,
boolean switchCache)
Warms up the cache for the specified site context.
|
void warmUpCache(SiteContext siteContext, boolean switchCache)
switchCache
is true, then a new cache is created,
warmed up and then switched with the current cache of the site.siteContext
- the site contextswitchCache
- if a new cache should be warmed and then switched with the current cacheCopyright © 2021 CrafterCMS. All rights reserved.