biffbangpow/silverstripe-assetshash

Adds an additional cache-busting hash to assets

Installs: 401

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

v1.0.2 2021-05-24 11:33 UTC

This package is auto-updated.

Last update: 2024-10-24 19:04:24 UTC


README

Usage:

Requirements::set_backend(BBP_Backend::create());
Requirements::css('build/bundle.css', 'screen', ['addhash' => true]);
Requirements::javascript('build/main.bundle.js', ['type' => false, 'addhash' => true]);