diff --git a/core/includes/bootstrap.inc b/core/includes/bootstrap.inc
index dfb61e1..bf17f81 100644
--- a/core/includes/bootstrap.inc
+++ b/core/includes/bootstrap.inc
@@ -2263,7 +2263,8 @@ function _drupal_bootstrap_page_cache() {
   // Allow specifying special cache handlers in settings.php, like
   // using memcached or files for storing cache information.
   require_once DRUPAL_ROOT . '/core/includes/cache.inc';
-  foreach (variable_get('cache_backends', array()) as $include) {
+  $backends = state('system.cache')->get('backends') ?: array();
+  foreach ($backends as $include) {
     require_once DRUPAL_ROOT . '/' . $include;
   }
   // Check for a cache mode force from settings.php.
