UI is cached between Fuel versions

Bug #1325012 reported by Vitaly Kramskikh
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Fuel UI Team

Bug Description

It leads to situation where older version of the UI tries to use newer version of nailgun, and it leads to strange behaviour. It only happens on compressed UI as uncompressed version consists of many files and each of them is loaded with "_" argument containing current time and this busts the cache. To achieve the same functionality for compressed UI the following actions can be done:
1) Load main.js with cache-busting argument depdending on the release. For example, it should be commit SHA and it should be added when UI/ISO is being built
2) nginx static dir should be configured properly
It is also important to be sure that any changes won't make main.js to load every time the user opens the fuel UI.

Tags: ui
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to fuel-web (master)

Related fix proposed to branch: master
Review: https://review.openstack.org/98781

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/98781
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=8815b2c7b46dda82b2794e99ab5b456fcb8918ee
Submitter: Jenkins
Branch: master

commit 8815b2c7b46dda82b2794e99ab5b456fcb8918ee
Author: Vitaly Kramskikh <email address hidden>
Date: Mon Jun 9 17:10:01 2014 +0400

    Bust cache for main.js for compressed UI

    Change-Id: I665da4c1d2a7eb7803f006e7fe5c8b81d31f810e
    Related-Bug: #1325012

Changed in fuel:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.