WP Manifestindependent plugin directory
manifest / performance / wp-cachetop

Cachetop archived

WIP - Cache plugin that create static HTML

by Isotop AB · github.com/isotopsweden/wp-cachetop · website

2stars
5composer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/isotopsweden/wp-cachetop/archive/refs/heads/master.zip

Also on Packagist as isotopsweden/wp-cachetop:

composer require isotopsweden/wp-cachetop

From the readme

Cachetop Requires PHP 5.5.9 Cache plugin that create static HTML files that can be stored in Redis or on the file system. The default cache time is one hour. All posts that are cached will have to post meta keys, cachetophash with the cache hash id and cachetoptime with the time when the post was cached. Installation Unfragment With cachetopunfragment( $fn, array $args = [] ) you can tell Cachetop to replace the cached html with the output of the given function or static method. Example: The constant DOINGCACHETOP will be defined when Cachetop calls a function or static method when it replacing cached html with fresh html. Will not cache: - Logged in users (if not changed with the filter). - Search page. - 404 page. - Feed page. - Trackback page. - Robots file. - Preview page. - Password protected post. - WooCommerce cart page. - WooCommerce checkout page. - WooCommerce account page. - Only GET requests, so no POST, PUT, PATCH, UPDATE, DELETE or so. - No GET requests with query strings. Filters - cachetopoptions should be used to change Cachetop options, like changing from Redis to file system or setting expiration time. - cachetopbypass can be used to tell if a page t

Read the full README on GitHub →