mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-04 06:01:23 +09:00
Add Cloudflare cache management to the Zone Settings page. Purge everything (with a confirm) or purge specific URLs (one per line, capped at 30 to match Free/Pro limits); hosts/prefixes/tags are accepted by the API for Enterprise plans and their plan errors are surfaced verbatim. - CloudflareClient.purge_cache(zone_id, payload). - CloudflareService.purge_cache: validates intent (raises on empty), caps files at 30, normalizes the payload. - POST /api/v1/cloudflare/zones/:id/purge-cache (admin). - Actions tab gains a "Purge cache" card (purge-everything button + URL list); api method; SCSS. Tests: client payload, purge-everything, 30-file cap, empty-raises, provider error surfaced (5 tests). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>