summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDoan Luu Duc Tai <doan@luuduct.ai>2026-10-31 08:16:47 -0500
committerDoan Luu Duc Tai <doan@luuduct.ai>2026-10-31 08:16:47 -0500
commite0bfd8bd4991c898d008b433977a922e843ab354 (patch)
tree1aacbafd19cd8779520a259334a8e853141e706d /docs
parentfbb06ab09681079c01cc9b4eb13731ef17f4ab41 (diff)
Version site CSS and hide tooltip text before styles load
Diffstat (limited to 'docs')
-rw-r--r--docs/POLICY.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/POLICY.txt b/docs/POLICY.txt
index 442d068..16d97c2 100644
--- a/docs/POLICY.txt
+++ b/docs/POLICY.txt
@@ -83,3 +83,12 @@ PORTABILITY
Generated third-party legal texts retain upstream whitespace and line endings.
.gitattributes exempts only THIRD-PARTY-LICENSES.html from whitespace errors;
first-party source checks remain strict. Workspace audits include every member.
+
+STATIC ASSET CACHING
+
+ Main-site stylesheet links include the SHA-256 of web/styles.css as a query
+ version. Update both website templates when CSS changes. The render test
+ checks that the published URL matches the current stylesheet, preventing
+ old cached CSS from being paired with new markup. Tooltip text carries the
+ native hidden attribute as well as CSS visibility rules, so a stylesheet
+ failure cannot expose it as ordinary page text.