Site Optimization of clientlibs: loading only what is needed?
Hello,
I am seeing our javascript files minified are getting over 1MB and I am wondering if there any best practices for reducing the size of the clientlibs both javascript and css.
For example:
1. Are there ways to use lazy loading of scripts and styles and prioritizing a group of scripts for initiial load?
2. Are there ways to only load the scripts and styles needed for a given set of components you have loaded on the current page?
3. Other than eliminating errors, minifying and web optimizing images any other optimization strategies particularly for the clientlibs we can follow?