- 🇮🇳India Vivek Panicker Kolkata
I think this is a very valid suggestion and would not interfere with the Drupal Core routing system also.
We should go ahead with this.
Kernel.terminate would be a good time to do it since by that time the response would already have been sent, so there wouldn't be any extra processing happening during the request. - 🇳🇿New Zealand ericgsmith
We have to make a BC break anyway to support Drupal 11 - so if anybody wants to action this idea I'm not opposed to it. I will need to create a 2.x branch for it.
- 🇳🇿New Zealand ericgsmith
If we use kernel.terminate then the code will not run if page cache is handling the response - in the current state this is good as the module tries to skip this scenario anyway, but this has a potential side effect if https://www.drupal.org/project/purge_queuer_url/issues/3045503#comment-1... ✨ Registry expiration as opposed to removing it too soon Needs review means we need to be able to know when the page is served by page cache.