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
This has always been available using a separate module. Now added to the core, thanks for developers.
Gallery inside post content
It's the reason why i refuse "builder" because finally, you have a "student blog". But a gallery it's not a crazy thinks. All CMS propose it. Too many constraints can also scare your...
Gallery inside post content
There is such a thing as a "publication format" — all publications must be made in the same style, which was developed by the designer, and the task of the editor is to fill in the provided...
Gallery inside post content