I would like to be able to execute some code just after having sent a response.
I’m generating an image, that should be sent, removed afterwards.
If I do it on the
register_before_send, it will fail because the file is streamed (using
I would like to avoid doing a
send_after since I’m not really sure in how much time a file can be sent.
also, loading the image into memory is somehting I would like to avoid.
Anyone have an idea ?