Project

General

Profile

User story #14194

Manage caching of technique editor resources (css/js) with Rudder version

Added by Vincent MEMBRÉ 5 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
Technique editor - UI/UX
Target version:
Suggestion strength:
User visibility:
Effort required:

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 ...)


Subtasks

User story #14195: Set version in url parameters of js/css resource of technique editorReleasedVincent MEMBRÉActions
Bug #14212: In technique editor, ncf index is cached which defeats #14194 correction on migrationReleasedVincent MEMBRÉActions

Related issues

Related to ncf - User story #14210: Missing headers to cache technique editor css/js resourcesRejectedActions

Associated revisions

Revision 8b6103b0 (diff)
Added by Vincent MEMBRÉ 5 months ago

Fixes #14194: Manage caching of technique editor resources (css/js) with Rudder version

History

#1

Updated by Vincent MEMBRÉ 5 months ago

  • Description updated (diff)
#2

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from New to In progress
  • Assignee set to Vincent MEMBRÉ
#3

Updated by Vincent MEMBRÉ 5 months 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
#4

Updated by Rudder Quality Assistant 5 months ago

  • Assignee changed from François ARMAND to Vincent MEMBRÉ
#5

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending technical review to Pending release
#6

Updated by François ARMAND 5 months ago

  • Related to User story #14210: Missing headers to cache technique editor css/js resources added
#7

Updated by Alexis MOUSSET 5 months ago

  • Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.19, 4.3.9 and 5.0.5 which were released today.
Changelog
Changelog
Changelog

Also available in: Atom PDF