Added version number for URL's to ensure that files are only cached on a per-version basis. Fixes #2136.

This commit is contained in:
Aditya Toshniwal
2018-08-06 15:21:10 +05:30
committed by Akshay Joshi
parent a17aa212f0
commit cb8a288f85
5 changed files with 112 additions and 0 deletions

View File

@@ -34,6 +34,9 @@
<script type="text/javascript">
require.config({
baseUrl: '',
{% if config.APP_VERSION_PARAM is not none and config.APP_VERSION_PARAM != '' %}
urlArgs: '{{config.APP_VERSION_PARAM}}={{config.APP_VERSION_INT}}',
{% endif %}
waitSeconds: 0,
shim: {},
paths: {