Project

General

Profile

Actions

User story #14194

closed

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

Added by Vincent MEMBRÉ almost 6 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Technique editor
Target version:
UX impact:
Suggestion strength:
User visibility:
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 ...)


Subtasks 2 (0 open2 closed)

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 1 (0 open1 closed)

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

Also available in: Atom PDF