PHPackages                             rah/rah\_cache - 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. rah/rah\_cache

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

rah/rah\_cache
==============

Flat full-page caching plugin for Textpattern CMS

0.2.0(12y ago)23011GPL-2.0PHPPHP &gt;=5.2.0

Since Jul 20Pushed 7y ago3 watchersCompare

[ Source](https://github.com/gocom/rah_cache)[ Packagist](https://packagist.org/packages/rah/rah_cache)[ Docs](https://github.com/gocom/rah_cache)[ RSS](/packages/rah-rah-cache/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (5)Used By (1)

rah\_cache
==========

[](#rah_cache)

[Packagist](https://packagist.org/packages/rah/rah_cache) | [Issues](https://github.com/gocom/rah_cache/issues)

Rah\_cache is a simple, experimental full-page caching plugin for [Textpattern CMS](https://textpattern.com). It caches Texpattern’s dynamic pages as flat files, and is intended as a building block rather than full caching suite. Among many missing features, it doesn’t do any cache management, or flushing. It doesn’t check if site’s content is newer than cache. Instead, it just writes pages to cache, and serves pages. Rest is up to the two callbacks the plugin comes with.

Install
-------

[](#install)

Using [Composer](https://getcomposer.org):

```
$ composer require rah/rah_cache
```

Configure
---------

[](#configure)

Configuration happens through your `config.php`, located in `textpattern` install directory. The plugin comes with `Rah_Cache_Config` class which you will be using to configure the plugin, and `Rah_Cache_Handler` that handles the cache. To configure the plugin extend or create a new instance of `Rah_Cache_Config` and pass it to `Rah_Cache_Handler`:

```
require dirname(dirname(__DIR__)) . '/vendor/autoload.php';
```

```
class My_Site_Cache_Config extends \Rah_Cache_Config
{
    public $path = '/path/to/your/write/able/cache/directory';
}
```

```
new \Rah_Cache_Handler(new \My_Site_Cache_Config);
```

Place the above to your configuration file (`textpattern/config.php`).

Changelog
---------

[](#changelog)

### Version 0.2.0 – 2013/07/21

[](#version-020--20130721)

- Added: Pass HTTP headers to `rah_cache.store` event handlers.

### Version 0.1.2 – 2013/07/21

[](#version-012--20130721)

- Fixed: Content-type extractions from sent HTTP headers.

### Version 0.1.1 – 2013/07/21

[](#version-011--20130721)

- Fixed: Issue with timezone offsets.

### Version 0.1.0 – 2013/07/21

[](#version-010--20130721)

- Initial release.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

4

Last Release

4728d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3a34b4e1b662cd2c926e8e89a76f93df266b199fe61508d38026cb952f28e59e?d=identicon)[rah](/maintainers/rah)

---

Top Contributors

[![gocom](https://avatars.githubusercontent.com/u/665186?v=4)](https://github.com/gocom "gocom (8 commits)")

---

Tags

phptextpatterntextpattern-pluginpluginpageperformancecachespeedflattextpattern

### Embed Badge

![Health badge](/badges/rah-rah-cache/health.svg)

```
[![Health](https://phpackages.com/badges/rah-rah-cache/health.svg)](https://phpackages.com/packages/rah-rah-cache)
```

###  Alternatives

[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

155484.7k36](/packages/putyourlightson-craft-blitz)[dereuromark/cakephp-cache

A CakePHP plugin for view caching with configurable strategies

3341.5k1](/packages/dereuromark-cakephp-cache)[bnomei/kirby3-redis-cachedriver

Advanced Redis cache-driver with in-memory store, transactions and preloading

101.9k](/packages/bnomei-kirby3-redis-cachedriver)[mohammedjalal99/filament-cache-plugin

Complete caching solution for Filament PHP - Cache everything automatically

101.4k](/packages/mohammedjalal99-filament-cache-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
