Bundle Size Optimization Techniques
Explain concrete techniques (tree-shaking, standalone APIs, differential loading history, dependency auditing) for reducing bundle size beyond lazy loading.
Beyond lazy loading, several other concrete techniques reduce an Angular application's overall bundle size, and interviewers in senior/performance-focused roles often ask you to name several rather than relying on lazy loading alone, since it's not the only lever available and doesn't help with the code that genuinely must be in the initial bundle.
It's like packing for a trip by first laying out everything you own (the full dependency graph), then removing anything you demonstrably won't use (tree-shaking), replacing a bulky all-in-one toiletry kit with just the three items you actually need (dependency auditing), and finally compressing what's left into vacuum-sealed bags (minification) before it goes in the suitcase.