User:PearBOT/Template cache/source

This is the source code for PearBOT task 3 implementing template caches.