App script hook on 'kernel.response' event
We want to manipulate the sw-cache-hash cookie based on other cookies coming from request or response. We need the functionality to provide the customer different sites from the http cache based on cookies.
For that we need a hook for the app scripts to be fired at Symfonys event 'kernel.response'. So it should be fired every time when the kernel sends the response.
In the hook the repository service should be possible to be called inside the app script.
3
votes
Christoph Pötz
shared this idea