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.x2.1.x2.2.x2.3.x2.4.x2.5.x2.6.x2.7.02.7.12.7.22.7.32.7.42.7.52.7.62.7.72.7.82.7.92.7.10
NoNo1.00NoNoNoNoNoNoNoNoNoNoNoNoNoNoNo. 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

  1. Copy to extensions-folder.
  2. 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