PHPackages                             humanmade/the-cached-content - 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. humanmade/the-cached-content

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

humanmade/the-cached-content
============================

v0.3.0(2mo ago)43.6k↓56%[2 issues](https://github.com/humanmade/hm-the-cached-content/issues)GPL-2.0-or-laterPHP

Since Dec 17Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/humanmade/hm-the-cached-content)[ Packagist](https://packagist.org/packages/humanmade/the-cached-content)[ RSS](/packages/humanmade-the-cached-content/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (6)Used By (0)

the\_cached\_content()
======================

[](#the_cached_content)

This repository defines a template function to fragment-cache the entire `the_content()` output in a transient for a given post object.

Any block assets (scripts and styles) which are registered or enqueued during content rendering are tracked and stored in the same transient alongside the rendered content and re-injected into the global scripts registry when rendered content is used, so that conditional asset dependency includes like block scripts continue to work even when blocks are not `->render()`d during page generation.

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

[](#installation)

This project can be installed using Composer as `humanmade/the-cached-content`.

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance76

Regular maintenance activity

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity32

Early-stage or recently created project

 Bus Factor1

Top contributor holds 52% 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 ~246 days

Total

3

Last Release

69d ago

### Community

Maintainers

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

---

Top Contributors

[![kadamwhite](https://avatars.githubusercontent.com/u/442115?v=4)](https://github.com/kadamwhite "kadamwhite (13 commits)")[![goldenapples](https://avatars.githubusercontent.com/u/665992?v=4)](https://github.com/goldenapples "goldenapples (11 commits)")[![pamprn09](https://avatars.githubusercontent.com/u/55361215?v=4)](https://github.com/pamprn09 "pamprn09 (1 commits)")

### Embed Badge

![Health badge](/badges/humanmade-the-cached-content/health.svg)

```
[![Health](https://phpackages.com/badges/humanmade-the-cached-content/health.svg)](https://phpackages.com/packages/humanmade-the-cached-content)
```

###  Alternatives

[beryllium/cachebundle

Provides an interface to Memcache for Symfony2 applications

33136.2k](/packages/beryllium-cachebundle)

PHPackages © 2026

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