why do you want to do this? Have you looked at the various caching possibilities in eZ publish? Static cache, templates, template-blocks (Have I forgotten something?)
I've enabled :
- preview cache
- view cache
- template cache
- template compile
Please let me know what else can be improved (and where to set it). Thanks.