Unnecessary JS Files - Question | JoomShaper

Celebrate JoomShaper's Sweet 16 with Flat 35% OFF!

Unnecessary JS Files

PB

Petr Benes

SP Page Builder 1 month ago

Hello,

why are loaded unnecessary JS and CSS files on the frontend?

For example: /components/com_sppagebuilder/assets/css/color-switcher.css (disabled in the SPPB config) /components/com_sppagebuilder/assets/js/jquery.parallax.js /components/com_sppagebuilder/assets/js/jquery.magnific-popup.min.js

Thanks, Petr

0
2 Answers
PB
Petr Benes
Accepted Answer
1 month ago #223238

also /components/com_sppagebuilder/assets/js/color-switcher.js

0
Atick Eashrak Shuvo
Atick Eashrak Shuvo
Accepted Answer
Support Agent 1 month ago #223241

Hello Petr,

Thank you for bringing this to our attention, and I apologize for the inconvenience caused.

Regarding the color-switcher assets, this issue has already been addressed in SP Page Builder version 6.4.0. Please ensure that your installation is updated to the latest version, as this should prevent those specific CSS and JS files from loading when the feature is disabled.

As for the other assets you mentioned (such as jquery.parallax.js and jquery.magnific-popup.min.js), these are currently bundled and loaded by default as part of the core functionality. At this time, there is no built-in option to selectively disable them from the configuration panel.

Best regards

0