I have a custom router-outlet that caches components.
The code for that is this: https://gist.github.com/waeljammal/467286d64f59f8340a93#file-persistentrouteroutlet-ts-L75
The code example uses the component type as the cache key - however, I need mine to cache by the URL so that I can cache two different instances of the same component.
Is there any way to get the URL based on the ComponentInstruction?