Skip to content

fix(www): ensure state-changing GETs are never browser-cached - #612

Merged
chombourger merged 1 commit into
siemens:nextfrom
chombourger:fix/www-no-cache
Sep 24, 2026
Merged

chombourger merged 1 commit into
siemens:nextfrom
chombourger:fix/www-no-cache

Conversation

@chombourger

Copy link
Copy Markdown
Collaborator

Two identical keystrokes make identical URLs. The browser can serve the second one from its cache, so it never reaches the server (e.g. typing "oo" prints only one "o"). Send no-cache headers on every API response and turn off caching for jQuery GETs in the frontend.

Two identical keystrokes make identical URLs. The browser can serve
the second one from its cache, so it never reaches the server (e.g.
typing "oo" prints only one "o"). Send no-cache headers on every API
response and turn off caching for jQuery GETs in the frontend.

Signed-off-by: Cedric Hombourger <cedric.hombourger@siemens.com>
Comment thread mtda/templates/index.html
@chombourger
chombourger merged commit 2554877 into siemens:next Sep 24, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants