Skip to the content
Documentation

exp:warm

No ratings yet

Available since Exponential 6.0.15 (in development, not in a release yet).

Summary

Request every published page so no visitor pays for a render (--limit, --concurrency)

Usage

./console exp:warm [options]
php bin/php/warm.php [options]

Options

Option Value Description
--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).

Standard options

Every script also takes the standard options of the script framework: --help, --quiet, --siteaccess, --debug, --colors, --no-colors, --logfiles, --no-logfiles, --verbose and --allow-root-user.

Source

bin/php/warm.php, kernel/private/classes/commands/warm.php

See also

Generated example: exp:warm

Added to the reference for Exponential 6.0.15.

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.