WoodMartW
WoodMart
Nov 29

Auto Disable Ununsed JS and CSS files

It is really good for performance if there as an option to find and list used and unused features, and then the ability to deactivate all unused features. Mainly after the setup of a website is complete, we can do this to have the possible performance. The current features in performance not easy to use, because there is many items that we don't know them, also there is no automatic system to show which one is not currently used on the website. Also, it is so good if there is a help page to explain each item. Kind Regards
PendingPending

3 weeks ago

Hi, WoodMart already works like that. Scripts and styles load only when actually needed, on multiple levels. Total the theme has around 500 CSS files, 160 scripts and 20 libraries split up, and each page only pulls in what it actually needs. Even if an option is enabled in settings, if its feature isn't actually on that page, the code won't load there either - say, "Frequently Bought Together" only shows on the product page, so it won't load on Homepage or My Account. This applies to almost all theme functionality and just works automatically, no toggles needed.

Jan 1, 2026

one of the way to best improve to this problem is a code splitting using css and javascript.

Dec 24, 2025

Theme itself loads what JS and CSS files are needed in every page.

Nov 29, 2025

Also it could be so good if we can have more advanced ability to manage and disable enable some core features, not only the elements, and based on it, the related CSS and Js files are totally disabled for disabled features and elements. JS

Nov 29, 2025

someting like what elementor has, but spesificaly for woodmart elements and features.