oont-contents/plugins/jetpack-boost/app/contracts/Optimization.php
2025-02-08 15:10:23 +01:00

14 lines
430 B
PHP

<?php
namespace Automattic\Jetpack_Boost\Contracts;
/**
* Modules can implement this interface to indicate that they change the HTML output for the site visitor.
*/
interface Optimization {
/**
* Check if the module is ready and already changing the page output.
* This is useful for modules that need preparation before they can start serving the optimized output. E.g. Critical CSS.
*/
public function is_ready();
}