Verify APO works
You can check whether or not APO is working by verifying APO headers are present. When APO is working, three headers are present: CF-Cache-Status
, cf-apo-via
, cf-edge-cache
.
- Visit Uptrends.com ↗.
- In the text field, enter the URL for your WordPress homepage including the
https://www.
. - Select Start test. The Response Headers table displays.
- Locate the three header responses and their description. APO is working correctly when the headers exactly match the headers below.
CF-Cache-Status
|HIT
- The
cf-cache-status
header displays if the asset is served from the cache or was considered dynamic and served from the origin.
- The
cf-apo-via
|tcache
- The
cf-apo-via
header returns the APO status for the given request.
- The
cf-edge-cache
|cache, platform=wordpress
- The
cf-edge-cache
headers confirms the WordPress plugin is installed and enabled.
- The
In a terminal, use the following cURL. The header 'accept: text/html'
is important
curl -svo /dev/null -A "CF" 'https://example.com/' -H 'accept: text/html' 2>&1 | grep 'cf-cache-status\|cf-edge\|cf-apo-via'
< cf-cache-status: HIT< cf-apo-via: cache< cf-edge-cache: cache,platform=wordpress
As always, cf-cache-status
displays if the asset hit the cache or was considered dynamic and served from the origin.
- The
cf-apo-via
header returns the APO status for the given request. - The
cf-edge-cache
header means the WordPress plugin is installed and enabled.
Open your WordPress site and publish a change. When the integration is working, the page is cached with cf-cache-status: HIT
and cf-apo-via: tcache
Was this helpful?
- Resources
- API
- New to Cloudflare?
- Products
- Sponsorships
- Open Source
- Support
- Help Center
- System Status
- Compliance
- GDPR
- Company
- cloudflare.com
- Our team
- Careers
- 2025 Cloudflare, Inc.
- Privacy Policy
- Terms of Use
- Report Security Issues
- Trademark