A simple PHP caching class