preloadstream
Available since Exponential 6.0.15 (in development, not in a release yet).
Summary
Runs the preloader and streams its progress as Server-Sent Events.
The reference implementation in exponentialbasic spawned the command line script with popen and relayed its stdout. This runs expPreloadRunner in the same process instead, so there is no dependency on shell_exec being enabled, on wget being installed, or on the web user being able to find a cli php binary - and the exit path is an ordinary return rather than an exit code recovered from a pipe.
Parameters
| Name | Kind |
|---|---|
| maxpages | unordered: /(maxpages)/<value> |
| maxdepth | unordered: /(maxdepth)/<value> |
Policy
setup/preload
Navigation part
ezsetupnavigationpart
Source
kernel/setup/module.php, kernel/setup/preloadstream.php
See also
Generated example: setup/preloadstream
Added to the reference for Exponential 6.0.15.
Contributors
- Graham Brookins Updated
Comments
Add a comment