Improving mobile performance on a Divi site often requires more than enabling a caching plugin. In one pre-launch optimization project, the site had heavy hero media, Gravity Forms reCAPTCHA loading on every page, conflicting Divi and WP Rocket performance settings, and large images. Those issues combined to create unstable Largest Contentful Paint (LCP) and inconsistent PageSpeed results.
Freshy improved the mobile experience by removing the background video from mobile, conditionally loading Gravity Forms reCAPTCHA only where needed, optimizing images with ShortPixel, and stabilizing the interaction between Divi and WP Rocket. By April, the development site measured approximately 3.0s FCP, 3.2s LCP, 20ms TBT, and 0.029 CLS. The site still had performance variability, so the work should be understood as a meaningful optimization pass rather than a guaranteed Core Web Vitals pass.
Issue background
A WordPress site built with Divi was approaching launch, but mobile PageSpeed performance was not where the team wanted it to be.
The site included several performance-sensitive elements:
- Background videos in hero areas.
- Image galleries and large media assets.
- Adobe Fonts.
- Gravity Forms with reCAPTCHA.
- Live chat and other third-party scripts.
- Divi performance settings overlapping with WP Rocket.
Early testing showed poor and inconsistent mobile results, including very high LCP and layout-shift concerns.
Diagnosis
The first major finding was that the homepage hero video was competing with critical page resources.
Freshy initially created a mobile-only lazy-loading approach that removed the video source during page load and restored it after user interaction. That improved LCP substantially, but results still varied.
The team then found another major source of variability: Gravity Forms reCAPTCHA was loading on every page. Because it loaded asynchronously outside the normal WP Rocket delay/defer path, it could still add seconds of variance to LCP and Speed Index.
A custom script was added so reCAPTCHA would only load on pages that actually contained a form.
Freshy also found a conflict between Divi’s own performance options and WP Rocket. Some Divi settings overlapped with WP Rocket’s optimizations, so the configuration had to be adjusted rather than simply turning every performance feature on.
Even after those changes, the homepage hero architecture remained a limiting factor. The hero used a Divi Fullwidth Slider even though it contained only one slide. That introduced extra rendering and layout behavior that made LCP less consistent.
Resolution steps
The documented optimization work included:
- Enable and tune WP Rocket. Freshy enabled caching and optimized minification, defer behavior, critical CSS handling, and script exclusions.
- Stabilize Divi and WP Rocket settings. Some Divi performance settings were disabled or adjusted where they conflicted with WP Rocket.
- Remove the hero video from mobile. Mobile visitors received a static hero image instead of loading the background video immediately.
- Conditionally load Gravity Forms reCAPTCHA. A custom script prevented reCAPTCHA from loading sitewide and limited it to pages that actually required it.
- Optimize site images with ShortPixel. Image delivery was identified as another red flag, so ShortPixel was installed and activated.
- Reduce JavaScript blocking. After the optimization pass, Total Blocking Time dropped to very low levels.
- Reduce layout shifting. CLS improved substantially compared with the original state.
- Review custom features separately. Freshy confirmed that a hreflang implementation and a cached TablePress-based filtering widget did not present meaningful performance risks on their own.
- Re-test after replacing the live-chat provider and reducing video sizes. A later check showed improved mobile metrics on the development environment.
By April 6, the documented PageSpeed results were:
- First Contentful Paint: 3.0s.
- Largest Contentful Paint: 3.2s.
- Total Blocking Time: 20ms.
- Cumulative Layout Shift: 0.029.
- Speed Index: 8.2s.
The team explicitly noted that most metrics had improved, although Speed Index remained high.
Freshy also recommended simplifying the hero from a Fullwidth Slider to a standard section if the team wanted more consistent mobile LCP.
Final outcome
The performance work removed several major bottlenecks and materially improved the technical health of the site.
The completed improvements included:
- Static hero imagery on mobile instead of loading the background video.
- Conditional Gravity Forms reCAPTCHA loading.
- ShortPixel image optimization.
- More stable Divi and WP Rocket settings.
- Lower JavaScript blocking time.
- Reduced layout shifting.
However, the source task does not show that the site reached consistently passing mobile Core Web Vitals. LCP still fluctuated, and the remaining limitations were tied mainly to the hero structure and font loading. The task was later paused and eventually closed without a final comment claiming those remaining architectural issues had been eliminated.
The later video review also produced a useful implementation rule. Even when a hero video is hosted on Vimeo, a direct progressive MP4 URL still has to be downloaded by the browser, so file size matters. Freshy found that a better-encoded 540p hero file around 3.33 MB could look clearer than an older 720p source while avoiding the much larger payload typically associated with a true 1080p rendition.
The broader lesson is that Divi performance work should focus on the complete rendering path, not just a PageSpeed score. Hero architecture, video delivery, reCAPTCHA, image weight, fonts, and overlapping optimization settings can all affect LCP differently.
If your Divi site has inconsistent mobile LCP, background-video performance problems, or Gravity Forms reCAPTCHA loading where it is not needed, contact Freshy. Our WordPress team can isolate the largest bottlenecks and test the safest changes before launch.