From 3844a3a48abb7c6d1d7204a0a0131c82c87206b3 Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Fri, 19 Jan 2024 13:13:56 +0100 Subject: templates: Add versioning to avoid browser caching ogcp.js errors Add version parameter to ogcp.js url. This is so that, if ogcp.js is modified, the browser is able to see that that file has been changed and that it has to load the new version instead of acquiring it from cache. We have experienced stranged errors, related to browsers caching old javascript files, leading to python flask backend backtraces --- ogcp/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index 73138b9..9cb004b 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -111,7 +111,7 @@ - +