adapt cache to psr-0