APO with dynamic login

We have this Wordpress website, with a login control using PHP and JavaScript (not the same as Wordpress login) which needs to be dynamic, that is, it cannot be cached.

However, with Cloudflare APO enabled, all HTML becomes static, making this login function non functional. Is there any way to configure APO setting up in a way that it doesn’t cache certain parts of HTML?

With W3TotalCache plugin, which we had the same problem, we solved by deleting header from the plugin cache, and we’re looking to find a similar way to keep using APO.

I guess page rules can bypass the cache for a particular URL.

APO doesn’t allow partial HTML caching, it’s all or nothing: the page is either cached with APO or bypassed.

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