Page Cache Warmer settings
The settings of Cache Warmer are located at System ▸ Page Cache Warmer ▸ Settings and are grouped into the following sections:
- General Settings - basic configuration of the warming process.
- Performance - allows you to manage the performance of Cache Warmer.
- Extended Settings - advanced settings to fine-tune server load and improve its responsiveness.
- FPC hole punch - settings for excluding individual blocks from caching.
- Debug - provides you with additional debug information about cache.
- Enabled - enables/disables Page Cache Warmer.
Ignored Pages - allows for setting URL patterns on pages that should be ignored by Cache Warmer, consisting of records where Expression contains a regular expression for URL.
/\?/- ignore all pages, that have GET parameters (filtered category pages, search results pages, etc.)
/\?[\w=]*&[\w=]*&[\w=]*/- ignore pages with more than 2 GET parameters
/\?(?!p=).*/- ignore all pages that have GET parameters, except paging (like ?p=2)
Read more about regular expression.
- Ignored User-agents - permits setting patterns of user-agent headers, which will be ignored by cache warmer. For example, you can set
/.*Googlebot.*/to ignore Google crawler, and pages visited by Google crawler will not be added to the queue of cache warmer.
- Ignored Page types - permits choosing page types from a list which will be ignored by cache warmer. All available page types present on the website will be added after the CLI crawler finishes crawling of the website.
This section will help you to tune-up Page Cache Warmer crawler. The crawler is launched regularly based on cron schedule and begins to traverse the list of available URLs of the store:
- If the URL is already cached, it is skipped;
- If the URL is not in the cache, the crawler will visit it on behalf of an external user, so that the page is rendered and placed in the cache.
To adjust the performance of the crawler, you can use the following options:
- Threads - the number of concurrent (parallel) requests to the store.
- Delay between requests - delay between requests in milliseconds.
- Maximum job run time - maximum running time allowed for crawler job in seconds.
- Job Schedule - cron expression to schedule warmer jobs. Read more about setting cron expressions here.
- Enable statistics - Enable/disable collecting statistical data. If disabled, the extension stops making /cache_warmer/track requests to the websites' front pages. The extension will not collect statistical data and count the popularity of the pages.
- Don't run the warmer's job if the average system load is more than (%) - If the average system load exceeds the given value in this field, the warmer's job will not start. The average system load graph can be seen at SYSTEM->Page Cache Warmer -> Jobs. Read more in this FAQ section.
- Warmer limit (%) - Warmer will stop warming when the cache fill rate reaches this value.
- Forbid cache flushing - completely disables flushing FPC cache. Read more in this FAQ section.
Forcibly make pages cacheable - Allows you to override the default behavior of Magento with regard to caching pages by changing content block attributes:
- Disable - keeps Magento's default caching behavior.
- All pages - extension will delete
cacheable="false"for all blocks in home, category and product pages making them cacheable as a result.
- Configure - allows you to select page types which will be made cacheable, e.g. home page (Cms · Index · Index), category (Catalog · Category · View) and product pages (Catalog · Product · View)
- Use the same cache for new visitor - Allows you to avoid the creation of several copies of cached pages for Magento installations with multiple store views. Disable it if your pages are cached incorrectly for different languages/currencies/store views.
- HTTP authentication - Allows you to crawl store pages when basic access authentication is enabled.
- Username - set your username.
- Password - set the password for existing username.
- Show cache status - show block in the store frontend with page cache status.
- Show cache status only for - сomma separated IP addresses, for which infobox should be visible.
- Log warmer requests - log all warmer request to
- Log tags for cache flushing - logs all cache flushes to
- Log backtrace for cache flushing - logs backtrace for cache flushes to the
/var/log/clean.log. For more info on this and the previous setting, read more in this FAQ section.