PHP: Easy caching in Shared memory