Just working through optimization on the site using the demo content, and getting issues with the images in the LayerSlider not being served via the CDN.
Site is http://www.athas.com. Plugin for image preload, caching, and CDN are WP-Rocket.
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 uses the native WP functions to generate URLs, so there should be no problem with it.
The only exceptions are the skins. Those are loaded dynamically, and depending on how the CDN plugin handles them, it's possible that they are not loaded from there.
Oddly enough, I was able to resolve the issue by changing to relative URLs for the slider. However, I seem to have uncovered something else.
When loading any slider, including from the template store, I am getting a 404 from the page to http://{SITEURL}/undefined. It seems to be generated from the transition from the first slide to the next.
I can confirm that last element. Creating a simple slide with no transition removes that error. Any transition causes the 404 to appear.
And, reverting back to version 6.8.3 seems to address the issue.
Just working through optimization on the site using the demo content, and getting issues with the images in the LayerSlider not being served via the CDN.
Site is http://www.athas.com. Plugin for image preload, caching, and CDN are WP-Rocket.
According to the following GTMetrix report https://gtmetrix.com/reports/www.athas.com/qR6k4Cda(and Lighthouse in Chrome), I am getting the following:
Using these CDN hostnames:
There are 5 static components that are not on CDN.
It seems like this plugin and it's subdirectories are being excluded from the CDN rewrite rules. Any ideas?
Hello Shawnhurst,
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 uses the native WP functions to generate URLs, so there should be no problem with it.
The only exceptions are the skins. Those are loaded dynamically, and depending on how the CDN plugin handles them, it's possible that they are not loaded from there.
Oddly enough, I was able to resolve the issue by changing to relative URLs for the slider. However, I seem to have uncovered something else.
When loading any slider, including from the template store, I am getting a 404 from the page to http://{SITEURL}/undefined. It seems to be generated from the transition from the first slide to the next.
I can confirm that last element. Creating a simple slide with no transition removes that error. Any transition causes the 404 to appear.
And, reverting back to version 6.8.3 seems to address the issue.
Thank you for the feedback. My colleagues and I will look into this to see what we can find, and get back to you.
Thank you for your patience. We've investigated this and found an error on our end.
We will release an update to adjust this.
In the meantime you can disable the Slider Settings -> Misc -> Enhanced Lazy Load (Advanced Option) to solve this.
Thank you! I thought I was going crazy.