Remove or reduce unused JavaScript and css

Hi all,

Looking to reduce unused JavaScript and defer loading scripts until they are required to decrease bytes consumed by network activity. Any app that can detect unused JavaScript and remove it?

Also, reduce unused rules from stylesheets and defer CSS not used for above-the-fold content to decrease bytes consumed by network activity

Thank you,

https://allianceautoproducts.com/

Hi @Alliance ,

This is Kate from PageFly - Landing page builder, I’d like to suggest this idea:

There are several apps on Shopify that can help you reduce unused JavaScript and defer loading scripts to optimize your website’s performance. Some of the most popular apps for this purpose include:

  1. Asset Optimization by Zipify: This app helps you minimize and combine your website’s CSS and JavaScript files to reduce the number of HTTP requests and speed up your site.

  2. Speed Optimizer: This app provides a comprehensive solution for optimizing your website’s loading speed, including the ability to defer the loading of JavaScript and reduce unused CSS.