Final answer to the question of why the LScache plugin does not display a number for the already cached URLs in the greenish icon.
The number of URLs requested during crawling is determined via the x-litespeed-cache header, which can be either miss, hit or no-cache. If a URL is not yet cached, this URL appears in a bluish icon. However, the value "miss" does not mean that the requested URL was not cached. The value "miss" means that the requested URL was
not yet in the cache at the time of the request. The value "hit" is only displayed when the request is made again.
The crawler of the LiteSpeed Cache Plugin for WordPress uses a specific user agent. This fixed user agent has the special feature that the request time is faster than with conventional user agents and the cache of an already cached URL is extended by the set TTL. The faster crawl speed is achieved, among other things, by not loading the data from the request. This also includes not returning the x-litespeed-cache response header. If a URL is already cached during crawling, then information about the status of the cache of the respective URL is missing and if this status is missing, the requested URL cannot be counted and that is why the greenish icon is usually empty or does not show any number.
Answer to the question of why the greenish icon sometimes shows a number for URLs that have already been cached.
The built-in crawler has a
rudimentary overload protection, which is measured by the set value for "Server Load Limit". If this value is exceeded during crawling, a break is inserted between the threads to reduce the server load. In addition, a different user agent is used during the overload period. If this user agent is active, the standard response and also the x-litespeed-cache header are sent again.
This is the reason why the greenish icon sometimes contains the number of URLs that have already been cached.
**********************************************************************************************************************************************************************************
Join https://www.cachecrawler.com - Lightning fast Cache Warmup Crawler for Wordpress, OpenCart, PrestaShop, W3 Total Cache, WP Rocket, Shopware and Magento.