Cloudflare APO Cookie Issue

We are trying out Cloudflare APO on our WordPress site again. However, we have a cookie called “session” that will change some dynamic content from “Log In” button to “Dashboard” if that cookie is present. It breaks with APO enabled.

I added a Cache Rule to bypass the cookie, but does that mean the entire site is no longer cached if that cookie is present? It also doesn’t seem to work too well as I need to do a hard refresh sometimes for the dynamic content to change.

That is not ideal. Is there a workaround for this?

AJAX get dynamic content and overwrite with JS.

NOTE : this will bypass all cache and does not scale

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