- Issue created by @mglaman
- πΊπΈUnited States mglaman WI, USA
Looks like β¨ Implement static caching around SchedulerManager::getPlugins() Active beat me to it!
I noticed \Drupal\scheduler\SchedulerManager::getPlugins was called 11 times on /admin/content due to form alter checks. Each check gets the same data from the cache and is unchanged. This leads to extra hits to the cache that aren't needed for unchanged data
1. We can statically cache the data in the method ie `static $plugins`
2. Use a chained backend to leverage MemoryCache and backend cache
Active
2.0
Code
Looks like β¨ Implement static caching around SchedulerManager::getPlugins() Active beat me to it!