deichrakete/kirby-cache

Installs: 15

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Type:kirby-plugin

pkg:composer/deichrakete/kirby-cache

1.0.0 2024-09-17 15:39 UTC

This package is auto-updated.

Last update: 2025-09-17 18:18:42 UTC


README

This is a simple cache plugin for Kirby, a file-based CMS. At the moment it allows you to add a cache-buster for the css() and js() functions.

Installation

  1. Download the plugin files.
  2. Copy the cache folder into the site/plugins directory of your Kirby installation or
    • composer require deichrakete/kirby-cache or
    • git submodule add https://github.com/deichrakete/kirby-cache.git site/plugins/cache
  3. The plugin is enabled by default

Config options

# everything is true by default
'deichrakete.cache.options' => [
  'buster' => [
    'css' => false,
    'js' => false,
  ]
]