LiteSpeed Page Optimization - JS

litespeed47 1 LiteSpeed Page Optimization – JS

The notes we set for CSS apply here as well.

JS Minify: option that deletes redundant things, spaces, comments and minimizes file size.

JS Combine: a very useful option where it combines all .js files into one file so that each file is not loaded separately.

JS HTTP/2 Push: allows the js file to be sent to the browser even before it is requested.

Load JS Deferred: loads the js after the html is loaded.

Load Inline JS: This option allows when inline js will be loaded. The default option does not change the inline. After DOM Ready can be used to reduce JS incompatibilities and reduce errors that Deferred can cause.

Exclude JQuery: This option excludes jQuery from optimization and is recommended to be left on to avoid errors. It is especially important if the JS Combine option is used.

Scroll to Top