Home › Forums › WoodMart support forum › Script manager – CSS / js perfmatters
Script manager – CSS / js perfmatters
- This topic has 5 replies, 2 voices, and was last updated 1 week ago by Artem Temos.
-
AuthorPosts
-
April 26, 2024 at 5:05 am #560851
pavel.vutkowParticipantHello,
I’m optimizing my site, noticing the following in one of the optimizations:
WP-BAKARY CSS is extremely large. In this case, I have followed most of your recommendations and even removed/disabled the js-composer css, but I still see this file.
https://snipboard.io/Q1JDSp.jpgCan you guide me if it is safe to remove it – I mainly use your features and options? Or where must it be added – for which page similarly for the other two JS options?
Additional question:
Any idea if this is loading from your country/theme:
select2
https://cdn.jsdelivr.net/npm/select2@4.1.0-beta.1/dist/js/select2.min.js
Depends on: jqueryApril 26, 2024 at 9:37 am #560919
Artem TemosKeymasterHello,
You can reduce the WPBakery CSS file size in Dashboard -> WoodMart -> Tools -> WPBakery CSS generator. There you can select which elements you use and generate a new CSS file https://gyazo.com/b8120c63f97f239e830de242d0f77067
Select2 JS file is most likely related to WooCommerce or other plugins installed on your website. Our theme doesn’t require this file.
Kind Regards
April 26, 2024 at 12:50 pm #561020
pavel.vutkowParticipantHi thank you,
WPBakery CSS generator.
But If it doesn’t use any of these options, will it still help me downsize?————–
Thanks:
Select2 JS file is most likely related to WooCommerce or other plugins installed on your website. Our theme doesn’t require this file.April 26, 2024 at 2:02 pm #561042
Artem TemosKeymasterIf you don’t use any of the elements, then you can uncheck all options, and this will reduce the file size a lot.
April 26, 2024 at 3:27 pm #561088
pavel.vutkowParticipantBut is it good to generate the CSS?
Our question is based on the following information:
“WPBakery CSS file is huge and due to the fact that we are not using 99% them on our demo versions we suggest you to generate a CSS file without them. Check all elements and see which ones you are using and which not. It may decrease your page size by 200-400 KB.”https://snipboard.io/Thqe1t.jpg
Thanks
April 29, 2024 at 9:38 am #561530
Artem TemosKeymasterYes, by generating a custom file, you can reduce your page’s CSS files.
-
AuthorPosts
- You must be logged in to create new topics. Login / Register