Okay
  Public Ticket #2251214
Page Speed Problem
Closed

Comments

  • Marcus Hübner started the conversation

    Hello Kreatura and merry Xmas to all of you.


    Hi have an issue with the layer slider plugin and the google page speed. Tried to fix it but no success. See Attachments.

    The mobile pages really slow down...  What can i do to fix it?

    By the the way. Please tell me how to use smaler tumbnails of my images for background of a slider. I only can select the big originals.


    Best regards.


    Marcus






  • [deleted] replied

    Hello Marcus,

    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.

    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).

    You can also create separate content if you want. Since version 6 of LayerSlider you have the option to display layers only on certain devices (desktop, mobile, tablet). This feature gives you the option to create separate layers and layouts for mobile (smaller images for example), tablet and desktop view in the same slide, and only show them on the required device.

    illustration-layer-devices@2x.png

    Additionally to the device specific layers, you could also build two sliders with different sizes or with different content for desktop and mobile, include them both to the site, and only display them (using the Hide over and Hide under options) on the required device. This gives you more control, but requires more work.