Currently we are facing an issue with Cloudflare cache. We have an implemented cache clearing module that listens to document events and clears cache based on what was updated etc.
But the issue we have is that when we update the URL fragment for a page, it doesn't trigger the event listeners we currently have in place (in this case DocumentEvents). I've tried already with ObjectEvents but that did not seem to work either. Ideally we would catch the URL update and clear the cache from the old pre-updated URL.
Is there any solution to our current problem?