Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions public/claim.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- CommandLayer public-site-build: 2026-07-21-pr395 -->
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand All @@ -21,6 +22,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="/css/site.css" />

<style>
:root {
--bg:#FFFFFF;--surface:#F7F8FF;--surface-2:#EEF1FB;--border:rgba(15,23,42,.08);
Expand Down
2 changes: 2 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- CommandLayer public-site-build: 2026-07-21-pr395 -->
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand All @@ -21,6 +22,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800;14..32,900&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="/css/site.css" />

<style>
/* ── Light theme: ENS white + Stripe navy typography ── */
:root {
Expand Down
17 changes: 12 additions & 5 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,24 @@
{
"headers": [
{
"source": "/(.*).html",
"source": "/index.html",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve revalidation headers for the other HTML pages

Replacing the catch-all rule with /index.html removes the explicit Cache-Control and CDN-Cache-Control revalidation policy from every other direct HTML route, including /docs.html, /verify.html, and the other frequently updated pages under public/. Those responses now depend on Vercel's default cache behavior and may be retained differently from before; keep the general HTML rule while overriding the three entry routes with no-store.

Useful? React with 👍 / 👎.

"headers": [
{ "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" },
{ "key": "CDN-Cache-Control", "value": "max-age=0, must-revalidate" }
{ "key": "Cache-Control", "value": "no-store" },
{ "key": "CDN-Cache-Control", "value": "no-store" }
]
},
{
"source": "/claim.html",
"headers": [
{ "key": "Cache-Control", "value": "no-store" },
{ "key": "CDN-Cache-Control", "value": "no-store" }
]
},
{
"source": "/",
"headers": [
{ "key": "Cache-Control", "value": "public, max-age=0, must-revalidate" },
{ "key": "CDN-Cache-Control", "value": "max-age=0, must-revalidate" }
{ "key": "Cache-Control", "value": "no-store" },
{ "key": "CDN-Cache-Control", "value": "no-store" }
]
}
],
Expand Down
Loading