PHPackages                             shelob9/jp-rest-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. shelob9/jp-rest-cache

ActiveLibrary[Caching](/categories/caching)

shelob9/jp-rest-cache
=====================

Soft-expiring, server-side cache for the WordPress REST API (WP REST).

651248[2 issues](https://github.com/Shelob9/jp-rest-cache/issues)PHP

Since Apr 30Pushed 10y ago3 watchersCompare

[ Source](https://github.com/Shelob9/jp-rest-cache)[ Packagist](https://packagist.org/packages/shelob9/jp-rest-cache)[ RSS](/packages/shelob9-jp-rest-cache/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

JP REST API CACHE
=================

[](#jp-rest-api-cache)

Soft-expiring, server-side cache for the WordPress REST API (WP REST).

Utilizes [Mark Jaquith's WP-TLC-Transients Library](https://github.com/markjaquith/WP-TLC-Transients). Requires WordPress and the [WordPress REST API](http://wp-api.org).

Keep in mind two things when using please:

1. Caching does not categorically equal faster. Do some science, test on your testing server, not your live server for the love of Gaia, to figure out if this actually improves performance.
2. You're probably better off using a persistent object cache on your site. Again, do science, figure out what works best. My feelings will not be hurt if you use something else instead.

BTW By "do science" I mean do a set of repeatable tests with a one independent variable (cache method) and keep everything else the same. Compare results and see if you're hypothesis (cache method == faster) evaluates true or false.

### Installation

[](#installation)

This is not a plugin. It's a composer library. Putting this in your plugin directory and then opening an issue when this doesn't show up in your plugin admin is a violation of intergalactic law.

Add `"shelob9/jp-rest-cache": "dev-master"` to your site/plugin/theme's composer.json.

### License

[](#license)

Copyright 2014 Josh Pollock. Licensed under the terms of the GNU General public license version 2. Please share with your neighbor.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca938daf3f2a666cd32c7bdb6e30714da6fe0e6cd5012fe4864b18afae43fbcd?d=identicon)[Shelob9](/maintainers/Shelob9)

---

Top Contributors

[![Shelob9](https://avatars.githubusercontent.com/u/1994311?v=4)](https://github.com/Shelob9 "Shelob9 (8 commits)")[![bradleykirby](https://avatars.githubusercontent.com/u/1795493?v=4)](https://github.com/bradleykirby "bradleykirby (3 commits)")[![duncanjbrown](https://avatars.githubusercontent.com/u/642279?v=4)](https://github.com/duncanjbrown "duncanjbrown (1 commits)")

### Embed Badge

![Health badge](/badges/shelob9-jp-rest-cache/health.svg)

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

###  Alternatives

[iazaran/smart-cache

Smart Cache is a caching optimization package designed to enhance the way your Laravel application handles data caching. It intelligently manages large data sets by compressing, chunking, or applying other optimization strategies to keep your application performant and efficient.

21114.2k](/packages/iazaran-smart-cache)[phpfastcache/phpssdb

PHP SSDB Driver for phpFastCache

14736.9k1](/packages/phpfastcache-phpssdb)[rapidwebltd/rw-file-cache

RW File Cache is a PHP File-based Caching Library. Its syntax is designed to closely resemble the PHP memcache extension.

15196.8k7](/packages/rapidwebltd-rw-file-cache)[yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

392.9k](/packages/yuzuru-s-redis-recommend)[ichhabrecht/intcache

Turn uncachable page objects into cacheable links

193.9k](/packages/ichhabrecht-intcache)

PHPackages © 2026

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