Skip to content

Cache-bust dashboard assets after restart - #106

Merged
KMX415 merged 1 commit into
feat/v0.7.8from
feat/pluck-html-cache-bust
Jul 22, 2026
Merged

Cache-bust dashboard assets after restart#106
KMX415 merged 1 commit into
feat/v0.7.8from
feat/pluck-html-cache-bust

Conversation

@KMX415

@KMX415 KMX415 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Rewrite local .js/.css URLs in dashboard and auth HTML with a per-process ?v= token
  • Cache-Control: no-cache on those HTML responses so Apply/restart picks up new assets without a hard reload

Rewritten from javastraat/meshpoint (52b6caf). Co-authored by Albert Einstein.

Test plan

  • pytest tests/test_html_assets.py
  • Hard-refresh optional: View Source on / shows ?v= on local assets, not on unpkg

Rewrites local asset hrefs/srcs with a per-process ?v= token so Apply no longer leaves browsers on stale SPA code. From javastraat/meshpoint.

Co-Authored-By: Albert Einstein <javastraat@hotmail.com>
@KMX415
KMX415 merged commit bce2d4d into feat/v0.7.8 Jul 22, 2026
1 check passed
@KMX415
KMX415 deleted the feat/pluck-html-cache-bust branch July 22, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant