PHPackages                             generoi/sage-cacheable-viewloaders - 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. generoi/sage-cacheable-viewloaders

ActiveLibrary[Caching](/categories/caching)

generoi/sage-cacheable-viewloaders
==================================

v0.1.1(1y ago)11.1k↑33.3%MITPHPPHP &gt;=7.4CI failing

Since Jun 9Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/generoi/sage-cacheable-viewloaders)[ Packagist](https://packagist.org/packages/generoi/sage-cacheable-viewloaders)[ Docs](https://github.com/generoi/sage-cacheable-viewloaders)[ RSS](/packages/generoi-sage-cacheable-viewloaders/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)Used By (0)

sage-cacheable-viewloaders
==========================

[](#sage-cacheable-viewloaders)

A sage package for pre-compiling acorn view loaders and thus making them cacheable.

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

[](#installation)

```
composer require generoi/sage-cacheable-viewloaders
```

Usage
-----

[](#usage)

To compile loaders of all the views run the following command.

*NOTE that this needs to run after `view:cache` since that command clears the caches.*

```
wp acorn viewloader:cache

```

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance63

Regular maintenance activity

Popularity20

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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 ~3 days

Total

2

Last Release

695d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/302736?v=4)[oxyc](/maintainers/oxyc)[@oxyc](https://github.com/oxyc)

---

Top Contributors

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

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/generoi-sage-cacheable-viewloaders/health.svg)

```
[![Health](https://phpackages.com/badges/generoi-sage-cacheable-viewloaders/health.svg)](https://phpackages.com/packages/generoi-sage-cacheable-viewloaders)
```

###  Alternatives

[predis/predis

A flexible and feature-complete Redis/Valkey client for PHP.

7.8k305.7M2.4k](/packages/predis-predis)[snc/redis-bundle

A Redis bundle for Symfony

1.0k39.4M67](/packages/snc-redis-bundle)[react/cache

Async, Promise-based cache interface for ReactPHP

444112.4M40](/packages/react-cache)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[illuminate/cache

The Illuminate Cache package.

12835.6M1.4k](/packages/illuminate-cache)[colinmollenhour/php-redis-session-abstract

A Redis-based session handler with optimistic locking

6325.6M14](/packages/colinmollenhour-php-redis-session-abstract)

PHPackages © 2026

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