middleman/middleman-core/fixtures/asset-hash-prefix/config.rb
Adam Heath 389e3f5a8c Add prefix option to asset_hash (#1949)
This allows manually changing the filename so that fiel header changes
can be reflected on the CDN. E.g. if you turn on crossOrigin serving
(CORS) the asset hash doesn't change, but the CDN cache needs to be
broken in order to pickup the new header.
2016-07-02 17:55:25 -07:00

7 lines
101 B
Ruby

activate :asset_hash,
prefix: "myprefix-"
activate :relative_assets
activate :directory_indexes