Are bot requests cached?

We are serving slightly different results to bots compared to our real users, by using to tell if the visitor is a known bot or not.

My concern is that if a page is not cached when the bot crawls it, will CF cache it and then serve the cached version to any real user that visits the page shortly after the bot?

Thank you in advance,

To determine a page is cache by Cloudflare or not, you can check out Default Cache Behavior · Cloudflare Cache (CDN) docs. There are some cases Cloudflare doesn’t cache your pages.