maximize Cloudflare edge caching

This commit is contained in:
2569718930@qq.com
2026-06-10 19:11:58 +08:00
parent 081bf9cc05
commit 1494db8e09
18 changed files with 421 additions and 42 deletions
+2
View File
@@ -83,6 +83,8 @@ def test_events_endpoint_replays_only_requested_cities(monkeypatch):
)
assert response.status_code == 200
assert response.headers["cache-control"] == "no-cache, no-transform"
assert response.headers["cloudflare-cdn-cache-control"] == "no-store"
assert captured == {
"cities": {"taipei", "hong kong"},
"since_revision": 42,