apc caching for the getResourceFromUri objects