]> git.proxmox.com Git - pmg-gui.git/commit
add browser cache workaround
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 28 Nov 2019 10:22:44 +0000 (11:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Nov 2019 10:29:05 +0000 (11:29 +0100)
commit0391bb7a4cc423a1cb29aaa17de01600344ee93f
treecd488ae5aed2fdd617d18b088fce7a6396bcd5f7
parent71ee419d87721c7e506750627b6d1b59951e628d
add browser cache workaround

to prevent indefinite caching of the js files in the browser,
we add the package version to the js files, this will be read
by the pmgproxy and added as template variables

we use those to add the version to the get parameter and
thus tell the browser the file has changed

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Makefile
js/Makefile
pmg-index.html.tt