Perf: Serve homepage and assets without invoking Functions

Add _routes.json so /, /robots.txt and /assets/* skip the worker and
don't count against the Functions request quota. rate-limit.js moves to
assets/ so the homepage reads it client-side instead of via HTMLRewriter.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-06 16:43:25 -07:00
co-authored by Claude Opus 5.5
parent c76b1ba5f7
commit 1ebcfc777e
4 changed files with 14 additions and 18 deletions
+5
View File
@@ -0,0 +1,5 @@
{
"version": 1,
"include": ["/*"],
"exclude": ["/", "/index.html", "/robots.txt", "/assets/*"]
}