The code behind your pages (CSS, JavaScript) can be slimmed down automatically.
Minify
Minification strips out unnecessary spaces and characters from the code: same features, lighter files.
Bundle and defer
- Bundling several files into one reduces the number of requests.
- Deferring non-essential JavaScript speeds up the initial display.
Most caching plugins offer these options with a single click.
Be careful: test the site after switching them on — overly aggressive minification can break a layout. Enable the options step by step.