Join the Webstudio community

Updated 2 months ago

Optimizing swiper.js for improved performance

At a glance

The community member has completed a craft build and ran it through PageSpeed analytics, which revealed an issue affecting the performance score that is related to the Swiper JS library. The community member has already added defer to the script and now needs to add async as well, which they believe will resolve the issue and result in a performance score greater than 90. However, another community member commented that they don't think async is the solution needed in this case.

Almost done with my first craft build. Ran it through pagespeed analytics and I'm still getting an issue affecting performance score... And it comes from swiper js, I have already added defer to the script, so I need to add async as well.

If I fix this then the score should be > 90 for all.
O
1 comment
I don't think async is what you need there
Add a reply
Sign up and join the conversation on Discord