Made \Zend\Cache\Pattern\CaptureCache implement EventManagerAwareInterface so that it could trigger event, more specifically set.post which is the only way to retrieve the stored file name.