Method | Description | |
---|---|---|
__construct ( |
Create the listener | |
onRequest ( |
On Request received check the validity of the webpack cache. |
public __construct ( |
||
$guard | Guards the cache and is able to rebuild/update it. |
public onRequest ( |
||
$event | the response to send to te browser, we don't we only ensure the cache is there. |