PHPackages                             isotopsweden/wp-cachetop - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. isotopsweden/wp-cachetop

AbandonedArchivedWordpress-plugin[Caching](/categories/caching)

isotopsweden/wp-cachetop
========================

Cache pages by generating static HTML and store it in Redis or Filesystem

25[1 PRs](https://github.com/isotopsweden/wp-cachetop/pulls)PHP

Since Aug 15Pushed 5y agoCompare

[ Source](https://github.com/isotopsweden/wp-cachetop)[ Packagist](https://packagist.org/packages/isotopsweden/wp-cachetop)[ RSS](/packages/isotopsweden-wp-cachetop/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (2)Used By (0)

Cachetop [![Build Status](https://camo.githubusercontent.com/8f97ef285e599ca757a82bef7d7ee57e7162db39053e5c618a522cf44fec8fff/68747470733a2f2f7472617669732d63692e6f72672f69736f746f7073776564656e2f77702d6361636865746f702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/isotopsweden/wp-cachetop)
================================================================================================================================================================================================================================================================================================================

[](#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, `_cachetop_hash` with the cache hash id and `_cachetop_time` with the time when the post was cached.

Installation
------------

[](#installation)

```
composer require isotopsweden/wp-cachetop

```

Unfragment
----------

[](#unfragment)

With `cachetop_unfragment( $fn, array $args = [] )` you can tell Cachetop to replace the cached html with the output of the given function or static method.

Example:

```
