Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c43725ca7f | ||
|
|
a1712ae178 |
No files matched your search
@@ -11,6 +11,14 @@ Version numbers follow [Semantic Versioning](https://semver.org/spec/v2.0.0.html
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
## [1.7.5] — 2026-06-11
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **Stale UI after updating the server** — Flask served `/static/` files with no `Cache-Control` header, so browsers cached JS/CSS heuristically (often for days). After a server update — including the new in-app self-update, whose post-install reload hit the cache — the backend was new but the frontend stayed old, and fixes appeared "not to work" until a hard refresh. `SEND_FILE_MAX_AGE_DEFAULT = 0` now makes every static file revalidate via ETag: unchanged files answer with a cheap 304, changed files are re-fetched immediately on the next normal page load.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
## [1.7.4] — 2026-06-10
|
## [1.7.4] — 2026-06-10
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# GDPR Scanner — Brugermanual
|
# GDPR Scanner — Brugermanual
|
||||||
|
|
||||||
Version 1.7.4
|
Version 1.7.5
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -671,4 +671,4 @@ For en typisk skole- eller kommunescanning er omkostningen ubetydelig — Claude
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
*GDPR Scanner v1.7.4 — teknisk opsætning og konfiguration: se README.md*
|
*GDPR Scanner v1.7.5 — teknisk opsætning og konfiguration: se README.md*
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
# GDPR Scanner — User Manual
|
# GDPR Scanner — User Manual
|
||||||
|
|
||||||
Version 1.7.4
|
Version 1.7.5
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -671,4 +671,4 @@ For a typical school or municipality scan the cost is negligible — Claude Haik
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
*GDPR Scanner v1.7.4 — for technical setup and configuration see README.md*
|
*GDPR Scanner v1.7.5 — for technical setup and configuration see README.md*
|
||||||
@@ -317,6 +317,11 @@ app = Flask(__name__,
|
|||||||
template_folder=_os.path.join(_BASE_DIR, "templates"),
|
template_folder=_os.path.join(_BASE_DIR, "templates"),
|
||||||
static_folder=_os.path.join(_BASE_DIR, "static"))
|
static_folder=_os.path.join(_BASE_DIR, "static"))
|
||||||
|
|
||||||
|
# Static files must revalidate on every load (cheap 304s via ETag). Without
|
||||||
|
# this there is no Cache-Control header and browsers cache JS/CSS heuristically
|
||||||
|
# for days — after a self-update the backend is new but the UI stays stale.
|
||||||
|
app.config["SEND_FILE_MAX_AGE_DEFAULT"] = 0
|
||||||
|
|
||||||
# Session secret — derived from machine_id so it survives restarts without a separate file.
|
# Session secret — derived from machine_id so it survives restarts without a separate file.
|
||||||
# machine_id is also the Fernet key (base64-encoded 32 bytes); we use its raw bytes as the secret.
|
# machine_id is also the Fernet key (base64-encoded 32 bytes); we use its raw bytes as the secret.
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in new issue
Block a user