This topic has 12 replies, 2 voices, and was last updated 1 years, 4 months ago ago by Krzysztof
Hi
I’m testing 10web booster and speed results are great but I do have one topic where I need your help.
By default 10web booster using a technique called “delay JS files”. In short it means that JS files are not loaded until there is at least a mouse move on the screen. In majority of the cases it works great, but I have two elements which I would like to exclude from optimization as it looks weird on the first page load 🙂
Those are:
– “Slides” (elementor element from xstore) on a frontpage
– “sidebar widgets” on shop pages (on the left) where widgets are “sticky”
Could you please help me to identify which js files are responsible for above so I can exclude them from optimization/delay ?
small edit … I see now “Slider” and “Slides” elementor elements. So if we could identify both js files please 🙂
Hello, Krzysztof,
Thank you for contacting us and for using XStore.
We would recommend you use only the new element called Slides rather than the old Slider element (because it was built from stretch and was written with most optimization code techniques at this moment)
Anyway below is a list of files required for the correct work of those widgets:
1/ For correct work of the Slider element
http://yourwebsite.com/wp-content/themes/xstore/js/modules/swiper.min.js
http://yourwebsite.com/wp-content/themes/xstore/js/modules/swiperInit.min.js
http://yourwebsite.com/wp-content/themes/xstore/css/modules/builders/et-slider.min.css (if CSS minification option is active → https://prnt.sc/FBnBGGkCnljm ) or http://yourwebsite.com/wp-content/themes/xstore/css/modules/builders/et-slider.css ( if CSS minification option is inactive)
2/ For correct work of Slides element
http://yourwebsite.com/wp-content/themes/xstore/js/modules/ethemeElementorSlider.min.js
http://yourwebsite.com/wp-content/themes/xstore/css/modules/builders/elementor/etheme-slides.min.css (if CSS minification option is active → https://prnt.sc/FBnBGGkCnljm ) or
http://yourwebsite.com/wp-content/themes/xstore/css/modules/builders/elementor/etheme-slides.css ( if CSS minification option is inactive)
We hope this information is helpful.
Kind Regards,
8theme team
great thank you .. what about sticky sidebar widgets on shop page ?
Hello, Krzysztof,
Thank you for your response.
We understand that you are inquiring about the script name of the sticky sidebar. In this case, you will need to specify the following files that are responsible for this feature:
http://yourwebsite.com/wp-content/themes/xstore/js/modules/libs/jquery.sticky-kit.min.js
http://yourwebsite.com/wp-content/themes/xstore/js/modules/stickySidebar.min.js
Kind Regards,
8theme team
thank you … I will report back if successfully implemented so others can make a use of it 🙂
Hello, Krzysztof,
You’re welcome!
Kind Regards,
8theme team
Hello again
On the single product page, there are “tabs” with description, information etc.
Could you be so kind and instruct me which js files are responsible for those tabs ? I would like to exclude them from “JS Delay” if possible. Therefore need to know names of all files necessary to properly display/load it.
PS:
I tried tabs.min.js and ethemeAdvancedTabs.min.js but didn’t worked.
Hello, Krzysztof,
1/ You can try to set next file for exclusions:
http://yourwebsite.com/wp-content/themes/xstore/js/modules/single-product-builder.min.js
2/ About “Therefore need to know names of all files necessary to properly display/load it.” – There are about a hundred of Js files and each one is requested for own reasons. In case you have any questions about “What file is loaded for Y action“ – we will give you an answer. For this time it is more time-consuming to write a list of all files and describe each one’s action, so please, submit a question once you have a logic question for knowing the name of one file.
We hope this information is helpful.
Kind Regards,
8theme team
Hi
thank you for your answer … via testing 😉 i managed to find a proper set of js files to be excluded from JS Delay and product page looks and works as it should. Here is the list (maybe someone else will make use of it) 🙂
– fancy.select.min.js
– single-product-builder.min.js
– etheme-scripts.min.js
– single-product.min.js
– woocommers.min.js
– all other files containing “et-” in name
Ot top I also excluded:
– cartProgressBar.min.js
– cart-fragments.min.js
fille names should explain what those files are for 🙂
Hello, Krzysztof,
Is there anything else we can help you with?
Kind Regards,
8theme team
all good .. thank you once again for great support 🙂
Tagged: 10web booster, delayed, exclude, js files, sidebar, slider, widgets, woocommerce, wordpress
The issue related to '‘10web booster tweaks – slider and sidebar widgets js files to exclude from “Delayed JS files”’' has been successfully resolved, and the topic is now closed for further responses