oont-contents/plugins/jetpack-boost/app/modules/optimizations/page-cache/pre-wordpress
2025-04-06 08:34:48 +02:00
..
storage origin push 2025-04-06 08:34:48 +02:00
boost-cache-actions.php origin push 2025-04-06 08:34:48 +02:00
class-boost-cache-error.php origin push 2025-04-06 08:34:48 +02:00
class-boost-cache-settings.php origin push 2025-04-06 08:34:48 +02:00
class-boost-cache-utils.php origin push 2025-04-06 08:34:48 +02:00
class-boost-cache.php origin push 2025-04-06 08:34:48 +02:00
class-filesystem-utils.php origin push 2025-04-06 08:34:48 +02:00
class-logger.php origin push 2025-04-06 08:34:48 +02:00
class-request.php origin push 2025-04-06 08:34:48 +02:00
README.md 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.