Cloudflare apo and advanced ads

I use the wordpress plugin Advanced Ads to serve Google Adsense ads. Advanced ads offers cache-busting (passive and ajax).

When I use Cloudflare APO, ads are not consistently served. Sometimes, they show up, sometimes not. For example, my frontpage/homepage initially serves ads, however, when I visit another post and return to the frontpage, ads are gone. It must be a cache-related issue.

When I use the woocommerce option “geolocation cache” (which adds a string and thus bypasses the apo cache), my page and the ads work without any problem. Any idea what I could do to solve this problem?

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