HomePhabricator

Disable browser caching for BPMN using $wgResourceLoaderDebug

Authored by Yaron_Koren on Oct 13 2020, 8:48 PM.

Description

Disable browser caching for BPMN using $wgResourceLoaderDebug

There may be a better way to do this, but this works. The combination of bpmn-js and ResourceLoader causes old versions of diagrams, in both view and edit mode, to be cached in the browser unless a "hard refresh" is done, which can lead to a variety of issues. Turning on debug mode gets rid of the caching.

Change-Id: Ifafde614bd942d26bc9ce1c58f5407054568c136

Details

Committed
Yaron_KorenOct 13 2020, 8:51 PM
Parents
rEFLDc92d011bd70b: Remove line causing BPMN JS error
Branches
Unknown
Tags
Unknown
References
refs/changes/60/633760/3
ChangeId
Ifafde614bd942d26bc9ce1c58f5407054568c136