Caching 

Once a sitemap is located by a sitemap provider, the path to the XML sitemap is cached. This speeds up following warmup requests. Caching happens with the core cache which defaults to a filesystem cached located at var/cache/code/core/tx_warming.php.

class CacheManager
Fully qualified name
\EliasHaeussler\Typo3Warming\Cache\CacheManager

Manager to read and write the core cache tx_warming.

get ( $site = null, $siteLanguage = null)

Get all located sitemaps or the located sitemap of a given site and/or site language.

param TYPO3\\CMS\\Core\\Site\\Entity\\Site $site

The sitemap's site object or NULL to lookup all sitemaps.

param TYPO3\\CMS\\Core\\Site\\Entity\\SiteLanguage $siteLanguage

An optional site language

Returns

Either an array of all located sitemaps or the located sitemap of a given site.

set ( $sitemap)

Add the located sitemap to the tx_warming cache.

param EliasHaeussler\\Typo3Warming\\Sitemap\\SiteAwareSitemap $sitemap

The located sitemap to be cached.