list_crawlers(); $summary = Crawler::get_summary(); if ($summary['curr_crawler'] >= count($crawler_list)) { $summary['curr_crawler'] = 0; } $is_running = time() - $summary['is_running'] <= 900; $disabled = Router::can_crawl() ? '' : 'disabled'; $disabled_tip = ''; if (!$this->conf(Base::O_CRAWLER_SITEMAP)) { $disabled = 'disabled'; $disabled_tip = '' . sprintf(__('You need to set the %s in Settings first before using the crawler', 'litespeed-cache'), '' . Lang::title(Base::O_CRAWLER_SITEMAP) . '') . ''; } $CRAWLER_RUN_INTERVAL = defined('LITESPEED_CRAWLER_RUN_INTERVAL') ? LITESPEED_CRAWLER_RUN_INTERVAL : 600; if ($CRAWLER_RUN_INTERVAL > 0) : $recurrence = ''; $hours = (int)floor($CRAWLER_RUN_INTERVAL / 3600); if ($hours) { if ($hours > 1) { $recurrence .= sprintf(__('%d hours', 'litespeed-cache'), $hours); } else { $recurrence .= sprintf(__('%d hour', 'litespeed-cache'), $hours); } } $minutes = (int)floor(($CRAWLER_RUN_INTERVAL % 3600) / 60); if ($minutes) { $recurrence .= ' '; if ($minutes > 1) { $recurrence .= sprintf(__('%d minutes', 'litespeed-cache'), $minutes); } else { $recurrence .= sprintf(__('%d minute', 'litespeed-cache'), $minutes); } } ?>

Introduction for Enabling the Crawler for detailed information.', 'litespeed-cache'), 'href="https://docs.litespeedtech.com/lscache/lscwp/admin/#enabling-and-limiting-the-crawler" target="_blank"'); ?>

:

: conf(Base::O_CRAWLER_CRAWL_INTERVAL)); ?>

:

:

:

: get_server_load(); ?>

:

:

Last crawled: %s item(s)', 'litespeed-cache'), $summary['last_crawled']); ?>

" . __('Reset position', 'litespeed-cache') . ""; $href = Router::can_crawl() ? Utility::build_url(Router::ACTION_CRAWLER, Crawler::TYPE_START) : 'javascript:;'; echo " " . __('Manually run', 'litespeed-cache') . ""; echo $disabled_tip; ?>

$v) : $hit = !empty($summary['crawler_stats'][$i][Crawler::STATUS_HIT]) ? $summary['crawler_stats'][$i][Crawler::STATUS_HIT] : 0; $miss = !empty($summary['crawler_stats'][$i][Crawler::STATUS_MISS]) ? $summary['crawler_stats'][$i][Crawler::STATUS_MISS] : 0; $blacklisted = !empty($summary['crawler_stats'][$i][Crawler::STATUS_BLACKLIST]) ? $summary['crawler_stats'][$i][Crawler::STATUS_BLACKLIST] : 0; $blacklisted += !empty($summary['crawler_stats'][$i][Crawler::STATUS_NOCACHE]) ? $summary['crawler_stats'][$i][Crawler::STATUS_NOCACHE] : 0; if (isset($summary['crawler_stats'][$i][Crawler::STATUS_WAIT])) { $waiting = $summary['crawler_stats'][$i][Crawler::STATUS_WAIT] ?: 0; } else { $waiting = $summary['list_size'] - $hit - $miss - $blacklisted; } ?>
#
"; } ?> ' . ($waiting ?: '-') . ' '; ?> ' . ($hit ?: '-') . ' '; ?> ' . ($miss ?: '-') . ' '; ?> ' . ($blacklisted ?: '-') . ' '; ?> build_toggle('litespeed-crawler-' . $i, $__crawler->is_active($i)); ?> conf(Base::O_SERVER_IP))) : ?>
🚨 :
" . __('running', 'litespeed-cache') . ""; } } ?>

=
=
=
=

Hooking WP-Cron Into the System Task Scheduler to learn how to create the system cron task.', 'litespeed-cache'), ' href="https://developer.wordpress.org/plugins/cron/hooking-wp-cron-into-the-system-task-scheduler/" target="_blank" '); ?>

json_path(); if ($ajaxUrl) : ?>