PHPackages                             schnti/cachebuster - 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. schnti/cachebuster

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

schnti/cachebuster
==================

A plugin for Kirby 3 CMS to add modification timestamps to css and js files

1.0.3(3y ago)108.3k↓33.3%5[5 issues](https://github.com/schnti/kirby3-cachebuster/issues)[1 PRs](https://github.com/schnti/kirby3-cachebuster/pulls)1MITPHP

Since Apr 3Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (1)Versions (5)Used By (1)

Cachebuster plugin
==================

[](#cachebuster-plugin)

A plugin for [Kirby 3 CMS](http://getkirby.com) to add modification timestamps to your css and js files, as long as they are embedded with the css() and js() helpers.

Please note that this plugin doesn't add caching headers to your CSS and JS files. To make proper use of this plugin, you need to add caching rules to your server configuration.

Commercial Usage
----------------

[](#commercial-usage)

This plugin is free but if you use it in a commercial project please consider

- [making a donation](https://www.paypal.me/schnti/5) or
- [buying a Kirby license using this affiliate link](https://a.paddle.com/v2/click/1129/48194?link=1170)

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

[](#installation)

### Download

[](#download)

[Download the files](https://github.com/schnti/kirby3-cachebuster/archive/master.zip) and place them inside `site/plugins/cachebuster`.

### Composer

[](#composer)

```
composer require schnti/cachebuster

```

### Git Submodule

[](#git-submodule)

You can add the plugin as a Git submodule.

```
$ cd your/project/root
$ git submodule add https://github.com/schnti/kirby3-cachebuster.git site/plugins/cachebuster
$ git submodule update --init --recursive
$ git commit -am "Add Kirby Cachebuster plugin"

```

Run these commands to update the plugin:

```
$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive

```

Options
-------

[](#options)

You can disable the plugin with the following line in your `/site/config/config.php`:

```
return [
  'schnti.cachebuster.active' => true (default),
];
```

How to use it
-------------

[](#how-to-use-it)

### htaccess rules for Apache

[](#htaccess-rules-for-apache)

To make this plugin work on Apache you must add the following lines to your htaccess file:

```
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)\.(\d+)\.(js|css)$ $1.$3 [L]

```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 75% 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 ~440 days

Total

4

Last Release

1281d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1868482?v=4)[Timo Schneider](/maintainers/schnti)[@schnti](https://github.com/schnti)

---

Top Contributors

[![schnti](https://avatars.githubusercontent.com/u/1868482?v=4)](https://github.com/schnti "schnti (6 commits)")[![splorp](https://avatars.githubusercontent.com/u/29835?v=4)](https://github.com/splorp "splorp (2 commits)")

---

Tags

kirby3kirby3-pluginkirby3-cms

### Embed Badge

![Health badge](/badges/schnti-cachebuster/health.svg)

```
[![Health](https://phpackages.com/badges/schnti-cachebuster/health.svg)](https://phpackages.com/packages/schnti-cachebuster)
```

###  Alternatives

[fabianmichael/kirby-meta

Your all-in-one powerhouse for any SEO and metadata needs imaginable.

6910.7k1](/packages/fabianmichael-kirby-meta)[bnomei/kirby3-php-cachedriver

PHP based Cache-Driver

112.6k](/packages/bnomei-kirby3-php-cachedriver)

PHPackages © 2026

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