Confirming APO active

After activating APO on my site with the wordpress plugin i get the error in the plugin

cf-edge-cache response header is missing! Please clear any server cache used via other plugins.

I ran the suggested CURL command and can see the following in the header

CF-Cache-Status: DYNAMIC
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Content-Encoding: gzip

does this mean it’s working?
in terms of page speed test there is no change so i thought i might notice something there

i was running the siteground optimiser so i disabled that plugin. in terms of running a speed plugin in parrallel with APO are there any recommendations? e.g. use all the features EXCEPT the caching feature of such a plugin?

image
extra information above and below is the headers

Date: Wed, 12 Jul 2023 11:32:53 GMT
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
CF-Ray: 7e58f7d75bee8ce0-EWR
CF-Cache-Status: DYNAMIC
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Expires: Sun, 25 Jan 1981 05:00:00 GMT
Set-Cookie: __cflb=0H28vgHxwvgAQtjUGUFqYFDiSDreGJnUkpsBPnH3Qmb; SameSite=Lax; path=/; expires=Wed, 12-Jul-23 14:02:54 GMT; HttpOnly
Strict-Transport-Security: max-age=31536000
Pragma: no-cache
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
Vary: Accept-Encoding
Set-Cookie: __cfruid=d796e77381c68811a3cb6fdc3b434f54eaef33b5-1689161573; path=/; domain=.api.cloudflare.com; HttpOnly; Secure; SameSite=None
Server: cloudflare

It is in fact missing, and that means your Cloudflare plugin is not functioning as expected.

This is a standard warning to check cache, as the header could be missing due to origin cache. But it seems that you have ruled that out, based on the headers your posted.

Running SG optimizer or other optimization or caching plugin is usually fine, as long as it doesn’t interfere with the header that Cloudflare plugin is supposed to send.

I’d suggest you re-install your Cloudflare plugin, see if that fixes the issue. If not, then you’d need to investigate why the cf-edge-cache header is not present. You could for instance disable one plugin at a time, to try to find which plugin, if any, is removing that header, or preventing it from being generated.

Checking your php_errorlog file, if available, may also give you hints as to any PHP error related to the Cloudflare plugin.

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.