Cache headers end the stale-bundle era; finished games rest their buttons
The static server sent no Cache-Control at all, so browsers heuristically cached index.html — and a stale index.html pins its user to last deploy's hashed assets no matter how often they reload. That is how "watch the whole game" could show someone an app without the feature minutes after it shipped. Hashed assets now cache forever (immutable); everything else revalidates. And per playtesting: a finished game offers no actions — isYourTurn now requires the playing phase, which retires the pick-up/drop/punch/ discard/end-turn row the moment the trophy drops. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
cdcd1de71a
commit
bed29c4992
@@ -0,0 +1,34 @@
|
||||
- generic [ref=f2e3]:
|
||||
- banner [ref=f2e4]:
|
||||
- generic [ref=f2e5]: Wiz-War
|
||||
- generic [ref=f2e6]: sixth edition
|
||||
- button "help & rules" [ref=f2e7] [cursor=pointer]
|
||||
- generic [ref=f2e9]:
|
||||
- generic [ref=f2e10]: Wiz-War
|
||||
- generic [ref=f2e11]: A game of magical combat in a stone labyrinth
|
||||
- button "about this game — a labor of love" [ref=f2e12] [cursor=pointer]
|
||||
- generic [ref=f2e13]:
|
||||
- generic [ref=f2e14]: Your wizard's name
|
||||
- textbox "Your wizard's name" [ref=f2e15]:
|
||||
- /placeholder: e.g. Mordecai
|
||||
- generic [ref=f2e16]:
|
||||
- button "Create a game" [disabled] [ref=f2e17]
|
||||
- generic [ref=f2e18]: or join one
|
||||
- textbox "CODE" [ref=f2e19]
|
||||
- button "Join" [disabled] [ref=f2e20]
|
||||
- generic [ref=f2e21]:
|
||||
- generic [ref=f2e22]: "or play here, passing the device:"
|
||||
- group "number of wizards" [ref=f2e23]:
|
||||
- button "2" [ref=f2e24] [cursor=pointer]
|
||||
- button "3" [ref=f2e25] [cursor=pointer]
|
||||
- button "4" [ref=f2e26] [cursor=pointer]
|
||||
- button "5" [ref=f2e27] [cursor=pointer]
|
||||
- button "6" [ref=f2e28] [cursor=pointer]
|
||||
- button "Gather 2 wizards" [ref=f2e29] [cursor=pointer]
|
||||
- generic [ref=f2e30]:
|
||||
- 'checkbox "with Expansion Set #1" [checked] [ref=f2e31]'
|
||||
- text: "with Expansion Set #1"
|
||||
- generic [ref=f2e32]:
|
||||
- textbox "seat transfer phrase" [ref=f2e33]:
|
||||
- /placeholder: ember-troll-dagger
|
||||
- button "Claim a transferred seat" [disabled] [ref=f2e34]
|
||||
Reference in New Issue
Block a user