The goal can be achieved from the WordPress dashboard under LiteSpeed settings. However, it is best if users can manage the optimization from a single panel in Enhance.
The dedicated "LiteSpeed Optimization" should start with the option to enable or disable LiteSpeed Cache. If the user enables it, the LiteSpeed plugin will be installed for the website.
Three additional options should then be available:
- Apply Basic Settings
- Apply Advanced Settings
- Apply Extreme Settings
Basic Settings will apply:
- Basic cache
- Browser cache
- Mobile cache
Advanced Settings will apply everything in Basic Settings plus:
- CSS-JS-HTML minification
- Front display optimization
- Remove WordPress emoji
- Remove noscript tag
Extreme Settings will apply everything in Advanced Settings plus:
- CSS and JS combination
- Lazy load for iframes