#4487 - Do not recursively call block_caching Cron hook if no blocks need special caching

Identifier #4487
Issue type Feature request or suggestion
Title Do not recursively call block_caching Cron hook if no blocks need special caching
Status Completed
Handling member Chris Graham
Version 10.0.34
Addon core
Description The cron_caching_requests is used to request slow-generating blocks be generated in the next Cron request.

The block_caching Cron hook handles this. It has to populate the cache for all languages and themes, so recursively calls itself in new HTTP requests.

However, most sites don't even use this mechanism (and even if they do, it will not be in every Cron request), so recursing through it is unneeded if nothing is queued.
Steps to reproduce

Funded? No
Commits

Fixed MANTIS-4487 (Do not recursively call block_caching Cron hook if no... (c2c0c9eb) · Commits · Composr ecosystem / Composr · GitLab

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated