'Logs every exported file with its size and number of links. Turn it off again when done, because it fills the activity log quickly.' ) ); CFSP_UI::card_end(); CFSP_UI::card_start( 'Performance', 'Tune for your host. Lower values are safer on shared hosting that kills long requests.' ); ?>
'number', 'min' => 5, 'max' => 120, 'suffix' => 'seconds', 'help' => 'Work done per background request.' ) ); CFSP_UI::input( 'http_timeout', 'Page fetch timeout', array( 'type' => 'number', 'min' => 5, 'max' => 120, 'suffix' => 'seconds' ) ); ?>
'number', 'min' => 1, 'max' => 10, 'help' => 'Pages are requested from WordPress in parallel. 4 is a good default; use 1 on small shared hosting, up to 8 on a dedicated server.', ) ); CFSP_UI::input( 'r2_parallel', 'Media files uploaded to R2 at the same time', array( 'type' => 'number', 'min' => 1, 'max' => 32, 'help' => 'Used by Sync media library: files are uploaded in rounds of this many at once. 8 is a good default; try 16 to 24 on a fast server. Lower it if the host limits outgoing connections.', ) ); CFSP_UI::toggle( 'direct_fetch', 'Fetch pages directly from this server', array( 'help' => 'Requests for this site\'s own pages go straight to this server instead of out through the internet (and Cloudflare, if you use it) and back. Faster, and nothing depends on the proxy. If it doesn\'t work on your host, Static Push switches to the normal route by itself.' ) ); CFSP_UI::input( 'direct_ip', 'Server address', array( 'show_if' => 'direct_fetch', 'placeholder' => '127.0.0.1', 'help' => 'Where this server answers for its own hostname. Leave empty for 127.0.0.1; enter the server\'s IP if the web server only listens on that.', ) ); CFSP_UI::toggle( 'sslverify', 'Verify SSL certificates when fetching pages', array( 'help' => 'Keep off for local/staging sites with self-signed certificates.' ) ); CFSP_UI::card_end(); CFSP_UI::card_start( 'Job internals' ); ?>
CFSP_VERSION, 'WordPress' => $wp_version, 'PHP' => PHP_VERSION, 'Site URL' => home_url(), 'Export directory' => CFSP_Settings::export_dir(), 'Work directory' => CFSP_Settings::work_dir(), 'OAuth client ID' => CFSP_GitHub_Auth::client_id() ? CFSP_GitHub_Auth::client_id() : '(not set)', 'WP-CLI' => 'wp static-push export | deploy | status | cancel', ); ?> $cfsp_v ) : ?>