I'm having some issues with Barba and Swiper when using imagesLoaded, it seems to be loading .jpg and .avif files for some images that are in a Swiper element.
After a page navigation change using Barba, Swiper seems to load the .avif from a picture element first, then imagesLoaded loads the .jpg unnecessarily after. This is causing downloads of additional resources.
I'm having some issues with Barba and Swiper when using imagesLoaded, it seems to be loading .jpg and .avif files for some images that are in a Swiper element.
After a page navigation change using Barba, Swiper seems to load the .avif from a picture element first, then imagesLoaded loads the .jpg unnecessarily after. This is causing downloads of additional resources.
Is there any way to avoid this from happening?