Okay
  Public Ticket #1405584
Speedup large slider
Closed

Comments

  • chrisfah started the conversation

    Hi,

    I created an large slider with lots of layers. Unfortunately each layer appears on each device size, but always with different settings, so i had to use each layer three times - one for each device size.

    This will slow down the start of the slider (pictures are compressed...).

    My question is: Is there a difference of speed at start, when i reorder the layer?

    Currently the layers are sorted by device size, that means:

    smallsize-layer-1, smallsize-layer-2, smallsize-layer-3, ........ smallsize-layer-50, 

    mediumsize-layer--1, mediumsize-layer--2, mediumsize-layer--3, ..........mediumsize-layer--50,

    largesize-layer--1, largesize-layer--2, largesize-layer--3, ........ largesize-layer--50,


    OR IS THIS ORDERING BY APPEARENCE FASTER:

    smallsize-layer-1, mediumsize-layer--1, largesize-layer--1, smallsize-layer-2, mediumsize-layer--2, largesize-layer--2, ....... smallsize-layer-50, mediumsize-layer--50, largesize-layer--50,


    Hope I could explain my problem.


    Best regards, Christian

  • [deleted] replied

    Hello Christian,

    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.

    The order of the layers shouldn't have any effect on this.

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

  • chrisfah replied

    Great! Works perfect now.


    Thanx and best regards,

    Christian