Configuration Reference
All settings are stored as WordPress options with the tagpurge_ prefix.
| Option | Default | Description |
|---|---|---|
tagpurge_zone_id | '' | Your Cloudflare Zone ID (32 hex chars) |
tagpurge_api_token | '' | Cloudflare API token with Cache Purge permission |
tagpurge_use_tag_purge | '0' | '1' = use tag purge (Enterprise only), '0' = URL fallback |
tagpurge_home_purge_window | '0' | Hours: include homepage in purge window after post edit (0 = disabled) |
tagpurge_log_level | 'none' | none | error | info | debug |
tagpurge_disable_nocache | '0' | '1' disables the legacy no-cache header from old CF plugins |
tagpurge_instant_page | '0' | '1' injects instant.page prefetch script |
tagpurge_cron_loopback_url | '' | Internal origin URL for async worker (bypasses CF Managed Challenge) |
tagpurge_tag_count_threshold | '30' | Auto-escalate to site:all purge if tags/URLs exceed this count |