PHP class to cache dynamic pages in file and reduce Database overload