Implement cache-busting tags
See #1921 (closed) I have implemented a query parameter that forces web browser to reload cache of static assets. This technique is called cache busting.
As a result, our static URLs now look like:
The tag is computed from:
- Lemonldap version
- key
- optional salt (cacheTagSalt config parameter)
which means it has the following properties:
- the tag changes when the LLNG version changes, which means updated js/css are immediately used by web browsers
- the LLNG version cannot be easily deduced from the tag
- Admins may modify the salt to manually change the tag when they modify static files without upgrading LLNG
Edited by Maxime Besson