1.00releasedFingerprints
Adds md5 fingerprint-hashes (based on PHP filemtime) of selected files and provides the results in the param-pool.
Clone URLhttps://github.com/swiegmann/fingerprints.git
Add as a submodulegit submodule add https://github.com/swiegmann/fingerprints.git extensions/fingerprints --recursive
Compatibility
2.x.x | 2.1.x | 2.2.x | 2.3.x | 2.4.x | 2.5.x | 2.6.x | 2.7.0 | 2.7.1 | 2.7.2 | 2.7.3 | 2.7.4 | 2.7.5 | 2.7.6 | 2.7.7 | 2.7.8 | 2.7.9 | 2.7.10 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
No | No | 1.00 | No | No | No | No | No | No | No | No | No | No | No | No | No | No | No. Soon? |
Readme
Fingerprints
- Version: 1.00
- Author: S.Wiegmann
- Build Date: 2020-07-20
- Requirements: Symphony 2.2.x
Overview
Adds md5 fingerprint-hashes (based on PHP filemtime) of selected files and provides the results in the param-pool.
Installation
- Copy to extensions-folder.
- Enable it.
Usage
Add the files in the system preferences field "Fingerprints". It accepts one entry per row.
The syntax is:
ds-nodename1:path/filename1
ds-nodename2:path/filename2
Example:
css:workspace/assets/css/app.css
css-dev:workspace/assets/css/app-dev.css
js:workspace/assets/js/app.js
js-dev:workspace/assets/js/app-dev.js
You can now access the fingerprint-hashes in the param-pool. The result of the above example will be:
<params>
<fingerprint-css>421b61b1e1c65b1205bee2721bbca6d7</fingerprint-css>
<fingerprint-css-dev>6112608910dc88bb733369e143e01290</fingerprint-css-dev>
<fingerprint-js>01c2fabdfba6411a05174b5638a833f6</fingerprint-js>
<fingerprint-js-dev>6112608910dc88bb733369e143e01290</fingerprint-js-dev>
...
</params>
Changelog
- 1.000 / 2019-07-20 Initial release
Version history
Requires Symphony 2.2