A 2019 study of progression in localized early stage prostate cancer in 346 patients with known CYP1A2 gene status -which controls the enzymes that metabolises caffeine. Half had the AA fast metabolizer type, the other half AC or CC “slow” type. At least in terms of early stage progression rates , this has crucial bearing on caffeine levels. Those with the AA “fast” metabolizer type saw large decreases in progression if they consumed moderate amounts of caffeine around 2 , maybe 3 cups per day . Not more, higher caffeine nullified the benefits.
This type of risk reduction to progression is significant, in fact its about the same as can be expected from adding a second line therapy like androgen inhibitor enzalutamide.
Meanwhile, the half having the “slow” metabolism should essentially avoid caffeine altogether. The researchers go to some lengths to state that low to moderate consumption is acceptable for all, and point for instance to different more positive effects in later stages of prostate cancer. They also clearly highlight the probable benefits of the active ingredients beyond caffeine. This then speaks to green coffee and maybe decaf coffee.
Separately there were non-statistically relevant risk reductions over 70% for the 6% of patients consuming 4 or more cups per day of “herbal tea”
There are several online DNA testing companies offering to test caffeine metabolizer types.