exp:warm
Request every published page so no visitor pays for a render (--limit, --concurrency).
Script bin/php/warm.php, code in kernel/private/classes/commands/warm.php. Run it from the installation root, as the user the web server runs as:
./console exp:warm --help
php bin/php/warm.php --helpHelp text
Exponential cache warmer
Request every published page so no visitor pays for a render.Options
| Option | Value | Help |
|---|---|---|
--json | Print the result as JSON. | |
--verbose | Name every page that had to be rendered. | |
--limit | required | Warm at most this many pages. |
--host | required | Host header to send (default: SiteURL of site.ini, with Velocity's HTTPS port). |
--base | required | Where to send them (default: http://127.0.0.1:8088). |
--concurrency | required | How many at once (default: 8). |
Read from the option definitions in the code (startup(), getOptions(), options() or ezcConsoleOption). Every script also takes the standard options of the script framework (--help, --siteaccess, --debug, --quiet, --allow-root-user ...).
Related
Generated by ./console exp:help:examples from bin/php/warm.php, kernel/private/classes/commands/warm.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.