php cacheserver clinet class