How to clear site cache after user logging in

When I open the site it will look like this:

After the user logged in, the site header should change but it still looks like image 1 unless I hard refresh (ctrl + f5) the page. Expected result shown below.

If cloudflare couldn’t find out when to clear the cache. Is there anyway we can refresh the cache after user login.

It looks like you’re using APO, but…this is a Magento site? APO is not compatible with Magento. I’m not even sure how you got APO configured if it’s not a WordPress site. My advice is to disable APO in the Speed → Optimization section of your domain at

Thanks it worked!

1 Like

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