WordPress plugin to speed up the WordPress admin by disabling aggressive update checks
This, in my opinion, is a mandatory feature for all WordPress sites, as they say - a must-have. Why? Because checking for updates should go in the background and nothing else, with very rare exceptions! But let's figure out what's what...
I think everyone who is more or less connected with WordPress has noticed periodic slowdowns when entering any admin page: the admin console, the plugins or themes page (especially here!). These brakes occur periodically: sometimes slowly, sometimes quickly... This happens due to WordPress checks about new versions: core, plugins, themes and translations...
The fact is that to check new versions when generating a page, PHP sends an HTTP request, or rather 3 requests: core, themes, plugins... If there are paid plugins, then for each plugin there is usually another request... With an HTTP request in PHP, page generation freezes until each request receives a result, and each request takes an average of 0.5 - 1 seconds. So it turns out that the page freezes for 3-4 seconds.
The frequency of these checks on different admin pages is as follows:
Консоль > Обновления
page - once per minute.Плагины или Внешний вид > Темы
page - once per hour. In addition, these checks are triggered during the 'admin_init'
event, and therefore during AJAX requests. Despite the fact that this happens once every half a day, it is still unpleasant when someone catches an AJAX request with a delay of 3 seconds... In addition, this behavior for AJAX requests also works in the frontend, and this is not good at all ...
The original idea belongs to WordPress in full view.