Skip to content

Commit 54b996b

Browse files
committed
Update README with Cloudflare URL purge limits and batching recommendation
1 parent 7914eb3 commit 54b996b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,12 @@ WEBHOOK_HEADERS={"Authorization": "Bearer ${secret}", "Content-Type": "applicati
9797
WEBHOOK_BODY_TEMPLATE={"files": ${urls}}
9898
```
9999
100+
**Note**: Cloudflare has limits on how many URLs you can purge in a single API call:
101+
- Free/Pro/Business plans: Maximum of 30 URLs per request
102+
- Enterprise plans: Maximum of 500 URLs per request
103+
104+
If your Ghost updates might generate more URLs than these limits, consider implementing additional logic to batch requests (e.g. building your own webhook endpoint that batches requests).
105+
100106
## How It Works
101107
102108
1. The proxy forwards all client requests to the Ghost CMS instance.

0 commit comments

Comments
 (0)