Perfmatters JavaScript optimization – Question
-
Hello,
I would like to use Perfmatters to defer the loading of JavaScripts, but as soon as I activate this, adding to the wish list no longer works.
The following entries are already in my exclude list:
add-to-cart
filter
elementor-frontend.min.js
elementorFrontend
elementor
jquery.min.js
imagesloaded.min.js
Which entry is missing? Which JavaScripts am I not allowed to defer?
Many thanks for your help!
Marco
Hello,
Try to disable the “Ajax Add to cart” here – https://prnt.sc/BeEtsaI1uyPI then recheck the issue.
Kind Regards
Hi Luke,
even if I deactivated “Ajax Add to cart” it unfortunately does not work. And of course I want to keep the function to add something to the cart with Ajax, so that the cart widget opens automatically.
in the attachment you will find another screenshot with the settings of perfmatters.
Thank you
Marco
Attachments:
You must be
logged in to view attached files.
Hello,
Update the list of exclusions to the one below:
jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
helpers
clickOnScrollButton
menuOffsets
menuDropdownsAJAX
offCanvasCartWidget
offCanvasMyAccount
mobileNavigation
menuClickEvent
menuStickyOffsets
cart-fragments
swiper
singleProductGallery
js.cookie
imagesLoaded
ageVerify
magnific-popup
Clear the cache and recheck the issue. If it doesn’t help you, send access to the admin panel so I can check what is wrong there.
Kind Regards