I’m trying to fragment cache a piece of code (abc) which has a line containing registerCoreScript,
however it doesn’t get recorded by the cache if some other piece of code (xyz) already included the same core script.
This is very annoying because when I visit a different page which doesn’t have code xyz, code abc is left without the core script.
Is this a feature or a bug? What can I do to make sure it does get recorded into the cache, no matter whether the script was registered before or not?