Extension configuration

The extension currently provides the following configuration options:

Crawler

crawler

crawler
Type
string (FQCN)
Default
\EliasHaeussler\Typo3Warming\Crawler\ConcurrentUserAgentCrawler

Default crawler to be used for crawling the requested pages.

crawlerOptions

crawlerOptions
Type
string (JSON)

JSON-encoded string of custom crawler options for the default crawler. Applies only to crawlers implementing the \EliasHaeussler\CacheWarmup\Crawler\ConfigurableCrawler interface. For more information read Configurable crawlers.

Changed in version 4.0.0

verboseCrawler

verboseCrawler
Type
string (FQCN)
Default
\EliasHaeussler\Typo3Warming\Crawler\OutputtingUserAgentCrawler

Verbose crawler to be used for cache warmup from the command-line.

verboseCrawlerOptions

verboseCrawlerOptions
Type
string (JSON)

JSON-encoded string of custom crawler options for the verbose crawler. Applies only to crawlers implementing the \EliasHaeussler\CacheWarmup\Crawler\ConfigurableCrawler interface. For more information read Configurable crawlers.

Changed in version 4.0.0

Parser

parserOptions

parserOptions
Type
string (JSON)

Changed in version 4.0.0

This configuration was renamed from parserClientOptions to parserOptions in version 4.0.0. Migrate existing configuration to clientOptions.

JSON-encoded string of parser options used within the XML parser to parse XML sitemaps. For more information read Parser configuration.

Client

clientOptions

clientOptions
Type
string (JSON)

JSON-encoded string of options for the client used within the crawler and XML parser to parse and crawl XML sitemaps. All available Guzzle client options are accepted and merged with TYPO3's global client configuration stored in $GLOBALS['TYPO3_CONF_VARS']['HTTP'].

Options

limit

limit
Type
integer
Default
250

Allows to limit the number of crawled pages in one iteration.

exclude

exclude
Type
string (comma-separated list)

Comma-separated list of exclude patterns to exclude URLs from cache warmup. The following formats are currently supported:

  • Regular expressions with delimiter #, e.g. #(no_cache|no_warming)=1#
  • Any pattern processable by the native PHP function fnmatch, e.g. *no_cache=1*

strategy

strategy
Type
string

Name of an available crawling strategy to use for cache warmup. Crawling strategies are used to prepare URLs before actually crawling them. This can be helpful to prioritize crawling of important URLs.

Page tree

enablePageTree

enablePageTree
Type
boolean
Default
1

Enable cache warmup in the page tree context menu. This setting affects all users, including administrators.

supportedDoktypes

supportedDoktypes
Type
string (comma-separated list)
Default
1

Comma-separated list of doktypes to be supported for cache warmup in the page tree context menu. Defaults to default pages with doktype 1 only. If your project implements custom doktypes, you can add them here to support cache warmup from the context menu.

Toolbar

enableToolbar

enableToolbar
Type
boolean
Default
1

Enable cache warmup in the backend toolbar. This setting affects all users, including administrators.