/**
* On Request received check the validity of the webpack cache.
*
* @param GetResponseEvent $event the response to send to te browser, we don't we only ensure the cache is there.
*/
public function onRequest(GetResponseEvent $event)
{
if (!$event->isMasterRequest()) {
return;
}
$this->guard->rebuild();
}