I have a web service where most endpoints are dynamic and real-time. However I would like to host the website for the service on the same domain, ideally at the root, and have it cached by Cloudflare, while all other paths are not. For example, I’d like Example Domain, example.com/bundle.js, and example.com/image.jpg to be cached, but nothing else. Failing that, it would also be acceptable for everything under example.com/site/ to be cached, and nothing else.
Are either of these possible?