hmm … is this for you as a logged on editor/ administrator, or also for anonymous visitors skaejaz06 ?
Hi,
its for both.
Also, I’m using layer slider & i notice that whenever I deactivate plugin performance improves drastically on gtmetrix but when I activate again performance reduced. Is there any way to resolve the issue related to layer slider ? Any filter or something which loads layer slider scripts early? FCP & LCP both are impacting due to this.
let’s park layerslider for now and focus on CSS files not being optimized; can you share the URL of your site so I can look at the HTML source?
can you please share your email I’d I’ll share URL there.
you can mail me at futtta-at-gmail-dot-com 🙂
Got it. And as soon as you disable Avada Builder, the CSS is optimized?
Yes & its even eliminating lot of render blocking resources
in that case it is likely that Avada is using the AO API to specifically disable CSS optimization, but as it’s premium I don’t have code to look into to confirm .. maybe reach out to their support (as it’s premium they _should_ offer premium support)? 🙂
I dont think avada is blocking because I saw here in support thread it’s working for many guys. Is there any filter or anything we can use ?
what about layer slider. AO doesn’t work with it ? LCP time is decreasing if I deactivate layer slider plugin.
if CSS optimization is active, then any AO filter is unneeded really. I would most certainly open a ticket at Avada’s side!
re. layer slider; you can try preloading the first image in the layerslider (go to the edit screen of the page and add the full URL for the image in the “autoptimize this page” -> preload LCP image field (it does require either lazyloading or image optimization to be active in AO already), that might help.
Thanks, I’ll check for preloading. What if we need to preload multiple images ? It should be seperated by comma ?
what else I can do w.r.t layer slider ?
What if we need to preload multiple images ? It should be seperated by comma ?
indeed comma-separated but don’t overuse as that can have a counter-productive effect.
what else I can do w.r.t layer slider ?
well, any javascript component you use will always have a performance impact and sliders are no exception (on the contrary), so my advice typically is a question; do you _really_ need a slider? 🙂