elementor / elementor/elementor
❌ 🐞 Swiper/Carousel badly impacts mobile PageSpeed by ~4sec
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.6k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 193
Description
### Prerequisites
- [X] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
- [X] The issue still exists against the latest stable version of Elementor.
### Description
Disclaimer: I am new in this company and not the main maintainer of the homepage - but I have a background in WevDev, so I was assigned to look into this.
Our website, https://www.senpro.de , has a rather nice PageSpeed ranking on the desktop - however, on mobile, having just a single carousel of customer experiences hurts the page speed by a lot. Today, I spent most of the day trying to coordinate Asset CleanUp and WP Rocket to find a suitable caching and deferring strategy to make this work as good as I could - but even so, the total time of JS execution is very high, and mainly due to Swiper.

Unfortunately, the person responsible for building the homepage with Elementor has not been around for a while to ask them what else they have tried prior to assigning this issue to me.
It seems rather odd to me that Swiper - although being 120odd KB - would cause such an issue. But because all the JS is minified, I can#t exactly fly over this with a debugger, hence why my best bet is that this is a bug.
### Steps to reproduce
As far as I can tell, the landing page was constructed with Elementor and includes just a simple, single carousel featuring customer experiences. There is nothing else I spotted in this regard.
So I bet the easiest way to reproduce this would be to bootstrap a WordPress 6.4.2 instance, install Elementor, and place a carousel containing a few feedback quotes with logo and name. On the desktop, this should not cause an issue. But on mobile, the time of execution should dramatically increase.
Unfortunately, it is not well documented what environment the pages are loaded in when launched via PageSpeed. Since it is a Google product, however, I am sure it is done via Chrome, or at least Chromium.
### Isolating the problem
- [X] This bug happens with only Elementor plugin active (and Elementor Pro).
- [X] This bug happens with a Blank WordPress theme active ([Hello theme](https://wordpress.org/themes/hello-elementor/)).
- [X] I can reproduce this bug consistently following the steps above.
### System Info
Webspace with IONOS and PHP 8.2 enabled. available extensions unknown. Then again, this is a frontend issue.
The theme in use is Astaro, but it hardly loads any reosurces.
(I actually did not test with Hello Theme, I can not seem to find it, I wonder if it has been hidden or removed by the homepage maintainer?)
Contributor guide
Assessment
This issue has not been assessed yet.