Cloudflare caching the shopping cart popup

Cloudflare is caching the shopping cart popup AJAX script file. This causes issues. Missing images in the popup are caused by Cloudflare's Mirage function. To prevent this from happening you need to exclude the shopping cart popup AJAX script file from being cached by Cloudflare. The file I'm referring to is:
http://www.example.com/add_to_cart2.php

An instruction how to do this can be read here:
https://support.cloudflare.com/hc/en-us/articles/200172316

I think that the pattern for 'Page Rules' in this case would be:
*example.com/add_to_cart2.php

 
Was this answer helpful?