Home Forums WoodMart support forum theme slider & WPRocket

theme slider & WPRocket

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #694753

    lino.peverada
    Participant

    Hi,
    I almost finished to fine tune my WPRocket setting. Globally it works well but I still need your help.
    If I activate the WPRocket option “Delay JavaScript execution” I have good performances. The only thing I would like to fix, is to exclude sliders elements created with “Woodmart theme slider“.

    I’ve already tried
    – To use WPRocket option One-click exclusions and exclude the theme
    – Add individually those elements I found on your blog article https://xtemos.com/forums/topic/identify-the-js-files-related-to-woodmart-slider/

    With the solution One-click exclusions I don’t achieve what I’m looking for.

    Excluding those files (list hereafter) is not bad, all images are loaded but seems slider autoplay is still delayed.
    At the end I would like when a user visits our site, the slider is totally loaded and autoplayed. I hope my message is clear enough. Do you have any suggestion?

    wp-content/themes/woodmart/js/libs/waypoints.js
    wp-content/themes/woodmart/js/scripts/global/helpers.js
    wp-content/themes/woodmart/js/libs/flickity-all.js
    wp-content/themes/woodmart/js/scripts/elements/slider.js
    wp-content/themes/woodmart/js/scripts/shaders/sliderDistortion.js
    wp-content/themes/woodmart/js/scripts/shaders/shaders.js
    wp-content/themes/woodmart/js/scripts/shaders/shaderX.js
    wp-content/themes/woodmart/js/scripts/global/animations.js

    #694794

    Artem Temos
    Keymaster

    Hello,

    We have checked your website and see that the slider is almost static and don’t have any animations on page load. In this situation, we see no reason to exclude the slider from JS delay function. It will not affect the view and animation but will reduce the page speed.

    Kind Regards

    #695364

    lino.peverada
    Participant

    I made a table listing the differences. File attached.
    The site is now online with the option “Delay JavaScript execution” deactivated (First column in the file attached)

    Attachments:
    You must be logged in to view attached files.
    #695455

    Artem Temos
    Keymaster

    Hello,

    Yes, it makes a difference. But I didn’t mean to disable the Delay JS completely. What I was talking about is that you can keep this option active and don’t exclude the slider’s scripts.

    Kind Regards

    #695498

    lino.peverada
    Participant

    Ok, but with “Delay JavaScript execution” enabled, how can I make possible:
    – autoplay running
    – styles buttons fixed
    – load all slider images

    Everything works when “Delay JavaScript execution” is disabled. As soon as I axctivate the option, I have troubles with those points

    #695573

    Artem Temos
    Keymaster

    Hello,

    Could you please send us a screenshot of the problems with buttons and images you get when the Delay JS is active?

    Kind Regards

    #695585

    lino.peverada
    Participant

    Pictures attached
    On the top when Delay JS is active and bottom how is supposed to be

    Attachments:
    You must be logged in to view attached files.
    #695589

    Artem Temos
    Keymaster

    Please enable this option so we can check how it works on your website.

Viewing 8 posts - 1 through 8 (of 8 total)