Up to v0.26 of TapFX, the library has been tested on
Tapestry 3.0.1 and 3.0.3. I don't think that earlier Tapestry versions
are in use nowadays (but if you use one, you can always try the library).
I've also tested v0.30 against Tapestry 4.0-beta-6 and it works as-is.
Two ways:
The Cache component only interacts with your page template. It does NOT alter the execution of your page's pageBeginRender or other such initialization methods. So, if you fetch all the DB data in that method, you aren't really gaining anything.
If, however, DB access is done lazily (i.e. not in pageBeginRender, but only when the enclosed component needs them) or within the component, then Cache will 100% work. This means that in order to make good use of the Cache component, you may have to alter a bit your page's code.