It just popped into my mind.
Right here: https://api.backdropcms.org/api/backdrop/core%21includes%21cache.inc/fun...
static $cache_objects;
if (!isset($cache_objects[$bin])) {
$class = settings_get('cache_class_' . $bin);
if (!isset($class)) {
$class = settings_get('cache_default_class', 'BackdropDatabaseCache');
}
We are using settings_get function to properly direct cache features based on settings.php
But it is really old way and we have better solution - JSON settings!
So how about to keep this data in config('cache.settings') ?
This way cache settings could be easy transferred between different websites.
Also we can ADD admin/settings/cache page and not experienced users will be able to select different (available) methods for different bins.
Related: #716 #1413
Recent comments
Some other forum posts that might be interesting: https://forum.backdropcms.org/forum/blog-module-questions https://forum.backdropcms.org/forum/best-way-...
Blog-Module and Layout Question
I am not very clear about the difference with card and block , can anyone explain a bit ? Thanks This is a good question. Cards were added to Backdrop CMS as something that...
Difference between card and block ?
Backdrop CMS corrupting password at first login I've had this issue too. It mostly appeared to rear its ugly head when migrating (after running update.php) from a Drupal 7 site with quite...
User login (second time) issue after upgrading from Drupal7 to Backdrop