Actions
User story #14194
closedManage caching of technique editor resources (css/js) with Rudder version
Status:
Released
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Effort required:
Name check:
Fix check:
Regression:
Description
Currently when you upgrade your Rudder, ncf could be out of date due to browser caching of web resources, since our js/css files are not cached.
One way to manage this is to add a parameter to url which would be set with the version of Rudder
ie:
instead of having:
<script src="/js/ncf.js"></script>
We should have:
<script src="/js/ncf.js?version=x.y.z"></script>
We should set version to dev on the source code, and only replace 'dev' by the version at build time when we know the valid version (could also be at tag time but would prevent to do this on nightlies ...)
Updated by Vincent MEMBRÉ almost 6 years ago
- Status changed from New to In progress
- Assignee set to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Vincent MEMBRÉ to François ARMAND
- Pull Request set to https://github.com/Normation/ncf/pull/906
Updated by Rudder Quality Assistant almost 6 years ago
- Assignee changed from François ARMAND to Vincent MEMBRÉ
Updated by Vincent MEMBRÉ almost 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset 8b6103b00d4b81d4d3ee97fd21b5010ad145e952.
Updated by François ARMAND almost 6 years ago
- Related to User story #14210: Missing headers to cache technique editor css/js resources added
Updated by Alexis Mousset almost 6 years ago
- Status changed from Pending release to Released
Updated by Alexis Mousset over 2 years ago
- Project changed from 41 to Rudder
- Category changed from Technique editor - UI/UX to Web - Technique editor
Actions