Multi purpose file cache manager for php applications