Template has been mentioned as a template engine, and templates may be precompiled which is a performance plus. You're not working in mod_perl and the fact that you mentioned NFS makes me think there may be more than one server but
Cache or
Cache::Cache should be able to put their filecache on the NFS, though NFS becomes a bottleneck if you frequently write to the cache (which defeats the point of the Cache).