[pmg-devel] [PATCH pmg-api/gui] implement cache workaround

Dominik Csapak d.csapak at proxmox.com
Thu Nov 28 11:22:42 CET 2019

by adding the package version for the js files as get parameter
this way the browser loads the file on each package upgrade
and does not cache it indefinitely

the pmg-gui patch 'depends' on the pmg-api patch in the way
that otherwise the template variables are not filled,
but it should not break either way


Dominik Csapak (1):
  pmgproxy: implement cache workaround

 src/PMG/Service/pmgproxy.pm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)


Dominik Csapak (1):
  add browser cache workaround

 Makefile          | 2 ++
 js/Makefile       | 3 ++-
 pmg-index.html.tt | 8 ++++----
 3 files changed, 8 insertions(+), 5 deletions(-)


More information about the pmg-devel mailing list