MCPcopy Create free account
hub / github.com/Ark0N/Codeman / cacheBustAssets

Method cacheBustAssets

src/web/server.ts:1258–1264  ·  view source on GitHub ↗

Append ?v= to every same-origin .js/.css reference in the page so a * normal reload always serves the latest. Codeman's static assets are sent * with `Cache-Control: max-age=1y, immutable` and the script/link tags carry * no version, so without this an edited module (panels-ui.js,

(html: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

renderIndexHtmlMethod · 0.95

Calls 1

assetVersionMethod · 0.95

Tested by

no test coverage detected