I am having an issue where Sage isn’t caching my configuration files in
cache/config.php. This is strange to me, because both
services.php are cached. So: with every page reload the configuration files are reloaded here, even though I am expecting to find them here.
I am thinking it may have something to do with my environment. I don’t have a
.env file set, and I’m working locally. I am using the 10.0.0-beta version of Sage.
Stacktrace of query (via Query Monitor plugin):
WP_Post::get_instance get_post get_the_title require('/themes/sage/config/breadcrumb.php') Illuminate\Foundation\Bootstrap\LoadConfiguration->loadConfigurationFiles Roots\Acorn\Bootstrap\LoadConfiguration->bootstrap Illuminate\Foundation\Application->bootstrapWith Roots\Acorn\Bootloader->app Roots\Acorn\Bootloader->__invoke WP_Hook->apply_filters WP_Hook->do_action do_action('after_setup_theme') require_once('wp-settings.php') require_once('wp-config.php') require_once('wp-load.php') require('wp-blog-header.php')