in reply to mod_perl and semi-dynamic data
You might want to look at using things like Cache-Cache to handle your caching logic for you.