]> git.proxmox.com Git - pmg-api.git/commit
pmgproxy: implement cache workaround
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 28 Nov 2019 10:22:43 +0000 (11:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Nov 2019 10:28:43 +0000 (11:28 +0100)
commit3fb6d663a4bf13a2dc60616a7cd3226f9f132dd0
tree676d4b0fb88b519d29166da1e15d9f4c34c627aa
parent53ccdd75af5be34b984dda521f21bd46905fc201
pmgproxy: implement cache workaround

we include the version of the packages in the temlate, so that
we  can tell the browser that the file has changed and thus preventing
to load an old gui js file
the index template has to add the version to the get parameter

this is the same logic we use as in PVEs pveproxy

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
src/PMG/Service/pmgproxy.pm