Okay
  Public Ticket #1789160
CDN not caching certain files
Closed

Comments

  • blenkerco started the conversation

    Hi,

    I'm using the Stackpath CDN and I ran my website through the GTMetrix and it's saying that certain files associated with LayerSlider are not being cached/mirrored by Stackpath. I asked Stackpath about it and they couldn't figure it out. Are there certain boxes I need to tick in Advanced Options in order for this problem to disappear? 

    I am using the latest version of LayerSlider. 

  • [deleted] replied

    Hello blenkerco,

    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.

    I'm not exactly sure what is this problem that "Stackpath" shows, but LayerSlider offers multiple options (Advanced tab) that you can utilize to increase performance and adjust scripts. You should give them a try.
    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).