flowpack / cachebuster
Cache buster for static resources in Neos
Installs: 365 957
Dependents: 1
Suggesters: 0
Security: 0
Stars: 14
Watchers: 12
Forks: 3
Open Issues: 0
Type:neos-package
Requires
- neos/flow: ^4.0 || ^5.0 || ^6.0 || ^7.0 || ^8.0 || ^9.0
This package is auto-updated.
Last update: 2024-12-01 00:13:21 UTC
README
Flowpack.CacheBuster
Adds automatic cache busting for static resources in the frontend.
The output for those resources is modified by appending a shortened sha1 of the file like this
/_Resources/Static/Packages/Neos.NeosIo/Styles/Main.css?bust=3e9a4e48
Installation
composer require flowpack/cachebuster
Usage
This package provides an aspect which is automatically active and enabled cache busting without any further modification.
Compatibility with mod_pagespeed
Add the following to your webserver configuration to allow pagespeed to optimize resources with the cache bust query parameter.
nginx
pagespeed Allow "*";
Apache
ModPagespeedAllow "*"
Or be more specific by just allowing the *?bust=*
.