Restoring ThomasV's patch for a hook & use of the existing $cache parameter on addPri...