13 Commits

Author SHA1 Message Date
Heimdall
6de97af27b Add cache purge API with version-based invalidation
All checks were successful
TypeScript CI / build (push) Successful in 31s
Deploy to R2 / deploy (push) Successful in 2m37s
- POST /api/purge/:customer - purge cache for specific customer
- POST /api/purge-all - purge all cache globally
- Cache keys now include version from KV, incrementing version invalidates all cached entries
- No need for Cloudflare Dashboard access to purge
2026-04-01 11:45:27 +00:00
Heimdall
8ef88de748 Fix cacheKey Request constructor - don't pass original request
All checks were successful
TypeScript CI / build (push) Successful in 27s
Deploy to R2 / deploy (push) Successful in 2m26s
2026-04-01 07:12:23 +00:00
Heimdall
86bf2a9b0e Fix cache bypass scope bug causing 500 error
Some checks failed
TypeScript CI / build (push) Successful in 31s
Deploy to R2 / deploy (push) Has been cancelled
response variable was scoped inside if(!bypassCache) block but referenced
outside. Changed to const response in the R2 fetch section and conditionally
cache based on bypassCache flag.
2026-04-01 07:11:15 +00:00
Heimdall
b5595a4aef Add cache bypass and shorten HTML cache TTL
Some checks failed
TypeScript CI / build (push) Successful in 31s
Deploy to R2 / deploy (push) Has been cancelled
- Add ?nocache query param and Cache-Control: no-cache support to bypass Worker cache
- Shorten HTML cache TTL from 1h to 5min for faster iteration during development
- Add /api/purge/:customer endpoint (documentation)
2026-04-01 07:10:15 +00:00
Heimdall
2c9c36c40c Fix SSG compatibility: fallback /path.html to /path/index.html
All checks were successful
TypeScript CI / build (push) Successful in 36s
Deploy to R2 / deploy (push) Successful in 1m46s
Astro and other SSG frameworks generate /path/index.html instead of /path.html.
Added fallback logic so /products resolves to /products/index.html when
/products.html doesn't exist in R2.
2026-04-01 04:47:54 +00:00
kaffa
903348fb96 add: 고객용 deploy.yml 템플릿
All checks were successful
TypeScript CI / build (push) Successful in 46s
Deploy to R2 / deploy (push) Successful in 1m31s
2026-03-28 06:47:55 +00:00
kaffa
a7fceb7478 refactor: wrangler → rclone 통일
Some checks failed
TypeScript CI / build (push) Successful in 29s
Deploy to R2 / deploy (push) Has been cancelled
2026-03-28 06:47:10 +00:00
kaffa
de7c042e2c refactor: AWS CLI → wrangler R2로 배포 속도 개선
All checks were successful
TypeScript CI / build (push) Successful in 31s
Deploy to R2 / deploy (push) Successful in 48s
2026-03-28 06:20:14 +00:00
kaffa
b33249968c chore: rebuild test
All checks were successful
TypeScript CI / build (push) Successful in 34s
Deploy to CF Multisite / deploy (push) Successful in 6m59s
2026-03-28 05:53:56 +00:00
kaffa
03a1963e95 chore: anvil.it.com → inouter.com
Some checks failed
TypeScript CI / build (push) Successful in 32s
Deploy to CF Multisite / deploy (push) Failing after 33s
2026-03-27 16:20:20 +00:00
kaffa
3d2d2992f4 Add Gitea Actions CI workflow 2026-02-03 11:39:12 +09:00
kaffa
ed671fae28 Add MIT LICENSE 2026-02-03 11:20:14 +09:00
kappa
8850031c45 Initial commit: CF Multisite 멀티테넌트 정적 호스팅
- Cloudflare Workers + R2 기반
- Edge 캐싱으로 비용 절감
- 티어별 Rate Limiting (free/basic/pro)
- KV 기반 사용량 추적
- Admin API (usage, customers, tiers, stats)
- Gitea Actions 배포 워크플로우

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 09:20:46 +09:00