Sylvain Allignol Sylvain Allignol

Cache Stamp

A simple and lightweight Kirby plugin to handle cache busting for CSS, JS, fonts, SVG, PDF and images with advanced configuration options.

Manual

Download

… and extract the folder to site/plugins/cache-stamp

Git Submodule

<?= css('assets/css/style.css') ?>
// Output: <link href="/assets/css/style.a1b2c3d4.css" rel="stylesheet">

<?= js('assets/js/script.js') ?>
// Output: <script src="/assets/js/script.e5f6g7h8.js"></script>

Features

Automatic cache busting
… for CSS, JS, fonts, SVG, PDF and images
Multiple hash methods
MD5, SHA1, SHA256, XXH3, Timestamp
Customizable
Customizable hash prefix and suffix
Bells and whistels
Includes helpers and field methods
Universal
Supports both relative and absolute URLs
Version
1.0.0
License
Unlicensed
Stars
2
Supports
K5 K4 K3
Latest releases