Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

exp:makestaticcache

Crawl the public siteaccesses and generate static pages (--site, --max-pages, --max-depth).

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/examples/commands/makestaticcache.md

On this page

exp:makestaticcache

Crawl the public siteaccesses and generate static pages (--site, --max-pages, --max-depth).

Script bin/php/makestaticcache.php, code in kernel/private/classes/commands/makestaticcache.php. Run it from the installation root, as the user the web server runs as:

./console exp:makestaticcache --help
php bin/php/makestaticcache.php --help

Options

OptionValueHelp
-f
--forceAccepted for compatibility; a run always replaces what it generates.
--siterequiredGenerate only this siteaccess. Repeat for several; omit for every public one.
--max-pagesrequiredStop after this many pages per site. Default 2500.
--max-depthrequiredFollow links this many steps from the site root. Default 12.
--keepAdd to what is already stored instead of replacing it.

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 ...).


Generated by ./console exp:help:examples from bin/php/makestaticcache.php, kernel/private/classes/commands/makestaticcache.php. Do not edit this page: change the source and generate again (how). Free documentation: GFDL 1.3 or later.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x