Project

General

Profile

Actions

Feature #6680

closed

Clear the client's cache when releasing new versions of MetacatUI

Added by Lauren Walker about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
03/02/2015
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

It looks like RequireJS can cache bust with some confirguraiton: http://requirejs.org/docs/api.html#config

Because it's annoying to us and our users when we update or fix the KNB and have to remind them to clear their browser cache to see their bug fixed.

Actions #1

Updated by Lauren Walker about 9 years ago

  • Status changed from New to Resolved

All stylesheets and custom scripts, and most images are now loaded with a URL argument equal to the MetacatUI version. This ensures that users will always see the most recent changes when we update MetacatUI. The metacatUIVersion variable is set on loader.js. The loader.js script itself has a manually set URL argument in index.html but shouldn't have to be changed too often.

Actions

Also available in: Atom PDF