Cache configuration for a Rails app

Hello all!

I’m launching a Rails 7 app (with the use of Turbo) of course, and I’d like to know if someone already have experience with this? I’d like the app to be as fast as possible, I set Browser Cache TTL and Edge Cache TTL, but if I refresh the same page, sometimes I got a hit from Cloudflare and sometimes I don’t, it seems very volatile, but as I’m not a specialist in this field, I’m not sure what I should do to avoid that.

If someone can help, it would be great!

Thanks in advance!