The best trade off I've found is if the modules are all locked by user role/permissions and make the preload strategy check permissions. If the user doesn't have permission it doesn't load. We have a rather large application at work, there's around 15 lazy loaded modules, but each user role will only ever have access to around 5
Thanks for sharing.
Could you combine that with CanLoad? Possibly don’t even let it get to a strategy for preloading if they don’t have permission
Maybe a combo of both.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.