It’s not working. If we activate CF APO then everything is fine. However, if we activate WP Rocket and we have tested it with their addon and with your original plugin, the header is simply gone. There is just
In my opinion WP Rocket creates the page in its local cache without the headers. I know that even some security headers disappear if using WP Rocket.
So right now the quesiton is, is APO working or not? Even if this header is missing?
And, on a side note, we have a HUGE problem with APO and its caching of homepage and other pages which are dynamically loaded based on our published content. It’s not refreshed at all. We need to fully exclude it to run it normally however we have tens or hundreds of similar pages and it’s simply not possible to manually exclude. This should be fixed as well somehow, to have the option not to cache HTML on some pages.
It’s also very weird that we cannot use with APO the WP Rocket feature to cache mobile and desktop separately because then the cumulative layout shift on the mobiles is VERY big and most probably taken from the desktop version and simply it’s not working well.
Btw. their addon is not fullyl compatible yet Is WP Rocket compatible with Cloudflare APO? - WP Rocket Knowledge Base