list_crawlers(); $summary = Crawler::get_summary(); if ($summary['curr_crawler'] >= count($crawler_list)) { $summary['curr_crawler'] = 0; } $is_running = time() - $summary['is_running'] <= $this->conf(Base::O_CRAWLER_RUN_DURATION); $disabled = Router::can_crawl() ? '' : 'disabled'; $seconds = $this->conf(Base::O_CRAWLER_RUN_INTERVAL); if ($seconds > 0) : $recurrence = ''; $hours = (int)floor($seconds / 3600); if ($hours) { if ($hours > 1) { $recurrence .= sprintf(__('%d hours', 'litespeed-cache'), $hours); } else { $recurrence .= sprintf(__('%d hour', 'litespeed-cache'), $hours); } } $minutes = (int)floor(($seconds % 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') . ""; ?>
# | |||||
---|---|---|---|---|---|
"; } ?> | ' . ($waiting ?: '-') . ' '; ?> ' . ($hit ?: '-') . ' '; ?> ' . ($miss ?: '-') . ' '; ?> ' . ($blacklisted ?: '-') . ' '; ?> | build_toggle('litespeed-crawler-' . $i, $__crawler->is_active($i)); ?> | " . __('running', 'litespeed-cache') . ""; } } ?> |
=
=
=
=