PHPackages                             moritzebeling/kirby-cachebusting - 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. moritzebeling/kirby-cachebusting

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

moritzebeling/kirby-cachebusting
================================

Kirby Cachebusting plugin

2.0.1(2y ago)564MITPHPPHP &gt;=7.4.0

Since Jan 22Pushed 2y ago1 watchersCompare

[ Source](https://github.com/moritzebeling/kirby-cachebusting)[ Packagist](https://packagist.org/packages/moritzebeling/kirby-cachebusting)[ Docs](https://github.com/moritzebeling/kirby-cachebusting)[ RSS](/packages/moritzebeling-kirby-cachebusting/feed)WikiDiscussions master Synced 1mo ago

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

Kirby Cachebusting Plugin, CDN friendly
=======================================

[](#kirby-cachebusting-plugin-cdn-friendly)

> ⚠️ This is taken from the Kirby website and source code and only here to simplify installation for myself via composer. Please check:

-
-

The plugin adds a fingerprint like `file.css?v=12345678` to every file added from the `/assets` folder using Kirbys helper methods like `css()` or `js()`.

Via the options you can also provide a custom host if you want to host your assets on some CDN,

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

[](#installation)

```
composer require moritzebeling/kirby-cachebusting
composer update moritzebeling/kirby-cachebusting
```

Or download/clone this repo into `site/plugins` of your Kirby project.

Config
------

[](#config)

```
# site/config/config.php
return [
    'moritzebeling.kirby-cachebusting' => false // to switch off completely,
    'moritzebeling.kirby-cachebusting.host' => 'https://remote-host.com', // to set remote host, like cdn
    // ...
];
```

Usage
-----

[](#usage)

Just use the `css()` and `js()` helper methods to include your styles and scripts.

Development
-----------

[](#development)

1. Install a fresh Kirby StarterKit
2. `cd site/plugins`
3. `git clone` this repo

Support
-------

[](#support)

If you have any ideas for further development or stumble upon any problems, please open an issue or PR. Thank you!

Warranty
--------

[](#warranty)

This plugin is work in progress and comes without any warranty. Use at your own risk.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

Total

2

Last Release

1074d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

cachecachebustingkirbykirby-pluginphpplugincachestaticassetskirbykirby-pluginkirby-cmsflushcachebusting

### Embed Badge

![Health badge](/badges/moritzebeling-kirby-cachebusting/health.svg)

```
[![Health](https://phpackages.com/badges/moritzebeling-kirby-cachebusting/health.svg)](https://phpackages.com/packages/moritzebeling-kirby-cachebusting)
```

###  Alternatives

[bnomei/kirby-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code or a cronjob

922.8k1](/packages/bnomei-kirby-janitor)[bnomei/kirby3-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code or a cronjob

9339.9k2](/packages/bnomei-kirby3-janitor)[bnomei/kirby3-redis-cachedriver

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

101.7k](/packages/bnomei-kirby3-redis-cachedriver)[moritzebeling/kirby-favicon

Kirby plugin to meet all favicon needs

144.8k](/packages/moritzebeling-kirby-favicon)[bnomei/kirby3-fingerprint

File Method and css/js helper to add cache-busting hash and optional Subresource Integrity to file

4130.5k1](/packages/bnomei-kirby3-fingerprint)[bnomei/kirby3-pageviewcounter

Track Page view count and last visited timestamp

251.1k](/packages/bnomei-kirby3-pageviewcounter)

PHPackages © 2026

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