How can I reduce unused CSS files for faster website speed?

Hello @relaxsit2 ,

This is Gina from flareAI app.

There are several ways you can try to reduce the issues with unused CSS files in your Shopify store:

  1. Minification: Minifying your CSS files involves removing all unnecessary characters, such as white spaces and comments, to reduce the file size.
  2. Unused CSS removal: You can use some tools such as UnCSS to identify and remove any unused CSS rules.
  3. Code splitting: You can split your CSS into smaller, modular files that are only loaded when needed, reducing the overall size of your CSS files.
  4. Proper file organization: Proper file organization can help reduce the size of your CSS files by making it easier to identify and remove unused CSS.
  5. Remove the apps which you are no longer using to eliminate any issues with app-related CSS files.

By following these steps, you can reduce the size of your CSS files and improve the speed of your Shopify store.

Gina