| Server IP : 62.60.133.156 / Your IP : 216.73.217.51 Web Server : LiteSpeed System : Linux linux24.centraldnserver.com 4.18.0-553.141.2.lve.el8.x86_64 #1 SMP Wed Jul 8 16:10:02 UTC 2026 x86_64 User : mimradmin ( 1166) PHP Version : 7.4.33 Disable Function : show_source, system, shell_exec, passthru, exec, popen, proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/mimradmin/public_html/wp-content/plugins/wp-rocket/inc/Engine/Common/Cache/ |
Upload File : |
<?php
namespace WP_Rocket\Engine\Common\Cache;
interface CacheInterface extends \WP_Rocket\Dependencies\Psr\SimpleCache\CacheInterface {
/**
* Generate the real URL.
*
* @param string $url original URL.
* @return string
*/
public function generate_url( string $url ): string;
/**
* Is the root path available.
*
* @return bool
*/
public function is_accessible(): bool;
/**
* Get root path from the cache.
*
* @return string
*/
public function get_root_path(): string;
/**
* Generate a path from the URL.
*
* @param string $url URL to change to a path.
* @return string
*/
public function generate_path( string $url ): string;
/**
* Wipes the whole cache directory.
*
* @param array $preserve_dirs List of directories to be preserved.
*
* @return bool True on success and false on failure.
*/
public function full_clear( array $preserve_dirs = [] ): bool;
}