xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 5 forks source link

Caching problems after version upgrade #238

Closed oanalavinia closed 1 year ago

oanalavinia commented 1 year ago

Depending on the upgraded version, there could be different problems observed on the UI after upgrading the Diagram App (e.g. the editor is not loading, some error messages are displayed in the UI / browser console, etc). This happens because some JS (and CSS) files are cached on the browser and are not invalidated at upgrade.

This can be reproduces for example when upgrading from Diagram Application from version 1.18 to 1.19.

As a workaround, a force refresh might not always work. So it's best to clear the browser cache or use temporally the Disable cache option (from Developer tools -> Network panel)