oont-contents/plugins/jetpack-boost/app/modules/optimizations/page-cache/pre-wordpress
2025-02-08 15:10:23 +01:00
..
storage Themes & Plugins 2025-02-08 15:10:23 +01:00
Boost_Cache.php Themes & Plugins 2025-02-08 15:10:23 +01:00
Boost_Cache_Actions.php Themes & Plugins 2025-02-08 15:10:23 +01:00
Boost_Cache_Error.php Themes & Plugins 2025-02-08 15:10:23 +01:00
Boost_Cache_Settings.php Themes & Plugins 2025-02-08 15:10:23 +01:00
Boost_Cache_Utils.php Themes & Plugins 2025-02-08 15:10:23 +01:00
Filesystem_Utils.php Themes & Plugins 2025-02-08 15:10:23 +01:00
Logger.php Themes & Plugins 2025-02-08 15:10:23 +01:00
README.md Themes & Plugins 2025-02-08 15:10:23 +01:00
Request.php Themes & Plugins 2025-02-08 15:10:23 +01:00

Pre_WordPress namespace

Everything in this directory / namespace contains code which can execute before WordPress is fully initialized. It can be called from advanced-cache.php, but it can also be called directly from the main Boost code-base.

Nothing in the Pre_WordPress namespace may rely on autolaoding to load things; you must include an explicit require_once instruction in the entrypoint file Boost_Cache.php. It also must not rely on any WordPress functionality that is unavailable at the time that advanced-cache.php is executed.

You can use this code from elsewhere in Boost, and you can autoload it from outside this namespace, though.