Boost: Make sure multisites only check concatenation 404 status/GC once a day #41788
Labels
[Boost Feature] Page Cache
[Plugin] Boost
A feature to speed up the site and improve performance.
[Type] Enhancement
Changes to an existing feature — removing, adding, or changing parts of it
A multisite install of WordPress may have any number of sites, each with their own copy of Boost. If they are all using the Concatenate modules, the plugin will check if wp-content can be used for storing those files once a day, but each site will perform this check. They will also schedule garbage collection for once a day.
The plugin needs to store a timestamp recording the last time the 404 tester was run so that it really only runs once a day on the entire network.
It also needs to do the same for garbage collection so that only runs once a day on the entire network.
The "on toggle" check, when either module is enabled from an all-off status, should only be performed by a local user with network admin rights to the website. There's no need for ordinary admin users who don't have write access to the server to perform these checks.
The text was updated successfully, but these errors were encountered: