Does anyone know how to achieve purging unused elements using the API? I did some searches on the forum, which turned up that it can only be done using a postable command. But then, how does this node achieve it? The goal is to use it with multiple documents open in the background.
Ah true! For some reason I didn’t think to look at it. Seeing that there was an OOTB node already, I assumed there would be a method in the API
So I see that Genius Loci node basically recreates the whole purge unused logic, which is what you have to do I guess when the API doesn’t give you the ready made tools for it.