Okay
  Public Ticket #1971265
Slow website
Closed

Comments

  •   Mattia started the conversation
  • [deleted] replied

    Hello Mattia,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    We can assure you that LayerSlider does not affect your page load speed. It does not require large amount of resources, so even on pages where it's included it cannot generate long load times. The slow load time is most likely caused by something else on your installation/server.

    Also, LayerSlider offers multiple options (Advanced tab) that you can utilize to increase performance. The conditional script loading option will only load the scripts when they are needed. The include scripts in the footer option helps with eliminating the render-blocking scripts. The slider markup caching option spares server resources and lowers database connections. Please also note that the caching is not present for logged in admins, so you might not see the difference on the back-end. There is also the Optimize for mobile option in the Slider Settings -> Mobile tab (hidden by default). But ultimately it's up to your site and server how fast they load things. If there are more content on a page, your site might be loading it slower.

    Furthermore, there are several practices to speed up websites. For example using cache plugins or optimize images (size and compression). These are unrelated to the slider, more of general recommendations to follow to increase site performance.

  • Mattia replied

    Hi! Thanks for your answer. I'm using wprocket and autoptimize to cache and optimized my website. The problem is that if I turn on this part of wp rocket plugin http://prntscr.com/nb47i0 your plugin don't work and the slider disappear. The same problem come if I turn on this part of autoptimize plugin http://prntscr.com/nb47xi

    How could I fix it?
    Thanks

  • [deleted] replied

    Unfortunately those options could easily interfere with LayerSlider, as they are merging all JS (possibly CSS too) files. I'd recommend to remove LayerSlider from their target list, if they are causing issues for the plugin.

  • Mattia replied

    ok, could you say to me what I need to write inside the space to remove layer slider from merging?

    Thanks

  • [deleted] replied

    These are all the js files we are using: 

    /wp-content/plugins/LayerSlider/static/layerslider/js/greensock.js
    /wp-content/plugins/LayerSlider/static/layerslider/js/layerslider.kreaturamedia.jquery.js
    /wp-content/plugins/LayerSlider/static/layerslider/js/layerslider.transitions.js
    /wp-content/plugins/LayerSlider/static/layerslider/plugins/origami/layerslider.origami.js
    /wp-content/plugins/LayerSlider/static/layerslider/plugins/popup/layerslider.popup.js

    You could also try to disable the Conditional script loading and enable the Always load all JavaScript files in the LayerSlider Advanced settings. They might also help.

  • Mattia replied

    Perfect! Now it works! Another question for you. For GDPR, It is necessary to have the consent about cookie installation. Layer slider use google font cdn. How is it possible to use font from my hosting without google font?

  • [deleted] replied

    You will have to load your own fonts from your server to your site manually then. If they are properly loaded to your site, you just have to enter the font names the same way to the text layers and they will pick it up on the front-end.

  •   Mattia replied privately
  • Mattia replied

    If I deactivate the cdn google the slider lost font. How could I fix it?

  • [deleted] replied

    If that's happening then you've either incorrectly loaded the fonts to your site, or they are set incorrectly in the Styles tab for the text layers. Please check on these.

  • Mattia replied

    Sorry, I uploaded the font using avada...Could you send me a video to explain how could I do it?

    Thanks

  • [deleted] replied

    We are sorry, but we can only provide help with LayerSlider. If you are loading fonts to your site externally, outside of the plugin, we cannot help with that.

    Once the fonts have been properly loaded to your site, you only need to enter their names to the Styles tab of the text layers, to make this work.

  • Mattia replied

    in which folder Need I upload the font on ftp space?