mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #355] [CLOSED] serve: send Cache-Control: no-cache for index.html #2593
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#2593
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/355
Author: @dan64
Created: 10/1/2026
Status: ❌ Closed
Base:
main← Head:fix/index-html-no-cache📝 Commits (1)
1f16775serve: send Cache-Control: no-cache for index.html📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
serve/server.py(+1 -0)📄 Description
Summary
/web/*static assets (app.js,app.css,sprite.svg) already sendCache-Control: no-cache, but the rootindex.htmlresponse didn't set any cache header at all.app.js/app.cssunderneath were already being fetched fresh.index.htmlthe sameno-cachetreatment its own assets already have.Test plan
python -m py_compile serve/server.pyindex.htmlwithout needing Ctrl+F5.🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.