Your best not to store it in eaccelerator manually as you will get overhead for the unserialize calls for a large template array, storing it in files is the best way.
You should be able to use $_templatedo so that you cache the correct set of action templates, though personally I would create a single global cache file with the ones present in global.php and then a script / action specific cache.
Regarding uncached templates, why not look through the value of $vbulletin->templatecache at the end of script execution.
I have several designs for a potentially better system if you want to investigate.
|