How to bypass dns/http proxy for only a folder on a site

caching

#1

Hello community of awesomeness!

I’m a full stack dev that has a folder on a client site using CloudFlare that is solely for making api calls to another product and for that product to http post to. Obviously, the CF caching is interfering with the http post happening and is returning a 403 error. I’ve tested by temporarily bypassing the caching for the entire site and that fixed the problem but left the site stating that it was not secure. So I need a way to tell CF how to bypass caching for just that one folder on the site that needs direct http responses from. Thought’s/ideas?

Thanks so much in advance :wink:


#2

This is pretty much what Page Rules are for. Your client’s site needs a rule such as if URL matches https://example.com/api-folder/*, then Cache Level = Bypass.


#3

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