PHPackages                             bokt/flarum-cache-assets - 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. bokt/flarum-cache-assets

Abandoned → [blomstra/cache-assets](/?search=blomstra%2Fcache-assets)Flarum-extension[Caching](/categories/caching)

bokt/flarum-cache-assets
========================

Allows caching js and css ahead of any browser request.

0.5(4y ago)25.2kMITPHP

Since Apr 1Pushed 3y ago3 watchersCompare

[ Source](https://github.com/blomstra/flarum-ext-cache-assets)[ Packagist](https://packagist.org/packages/bokt/flarum-cache-assets)[ RSS](/packages/bokt-flarum-cache-assets/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

Cache Assets
============

[](#cache-assets)

This extension offers a command `php flarum cache:assets` that allows you to compile and save Javascript, Css and locale Javascript/Css ahead of any user request to either the forum or admin.

> This is an extension that is extremely suitable for Continuous Deployment scenarios.

### Installation

[](#installation)

Install with composer:

```
composer require blomstra/cache-assets:*
```

Go to your admin area and enable the extension.

#### Use the command

[](#use-the-command)

Run the `php flarum cache:assets --help` command to see a list of all options, at least one flag is required for the command to do anything:

`--js` to compile the javascript `--css` to compile the less/css `--locales` to compile css and js of the language packs

### Links

[](#links)

- [Packagist](https://packagist.org/packages/blomstra/cache-assets)
- [GitHub](https://github.com/blomstra/flarum-ext-cache-assets)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~107 days

Total

5

Last Release

1800d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/504687?v=4)[Daniël Klabbers](/maintainers/Luceos)[@luceos](https://github.com/luceos)

---

Top Contributors

[![luceos](https://avatars.githubusercontent.com/u/504687?v=4)](https://github.com/luceos "luceos (9 commits)")[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (1 commits)")

---

Tags

cssJScacheextensionassetsflarumblomstra

### Embed Badge

![Health badge](/badges/bokt-flarum-cache-assets/health.svg)

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

###  Alternatives

[lajax/yii2-asset-minifier

Runtime minification and combination of asset files.

1010.4k](/packages/lajax-yii2-asset-minifier)[spekkionu/assetcachebuster

Prefixes asset urls with a unique hash which will allow invalidation of asset files cached by the browser.

3243.2k](/packages/spekkionu-assetcachebuster)

PHPackages © 2026

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