Workers cache (#22)

* feat(auth): add Cache-Control: private to auth error responses

* feat: enable Workers Cache in wrangler config

* refactor: replace manual caches.default with Workers Cache

* fix: remove unused url variable in fetch handler

* test: update tests for Workers Cache header-based semantics

* style: apply prettier formatting

* chore(deps): bump wrangler
This commit is contained in:
2026-07-07 16:10:13 +02:00
committed by GitHub
parent d0267bab4b
commit 55c5a7ef14
6 changed files with 1290 additions and 1565 deletions
+4 -1
View File
@@ -1,9 +1,12 @@
name = "atalaya"
main = "src/index.ts"
compatibility_date = "2026-03-17"
compatibility_date = "2026-07-06"
compatibility_flags = ["nodejs_compat"]
workers_dev = false
[cache]
enabled = true
[assets]
directory = "./status-page/dist/client/"
binding = "ASSETS"