Fixing page flicker caused by “Delay JavaScript” setting in FlyingPress WordPress plugin

Summary:
After switching to FlyingPress to improve site speed, a WordPress site began experiencing a subtle flicker on every page load. This case study outlines how Freshy identified and resolved the issue, tied to a specific performance setting in the caching plugin.

Issue background

A WordPress site integrated FlyingPress for performance optimization, replacing WP Rocket. While load times significantly improved, users noticed a consistent flicker or flash on initial page load across the site. The issue was particularly noticeable during navigation and detracted from the otherwise smooth performance improvements.

Diagnosis

Freshy investigated the behavior by reviewing the browser console and testing optimization settings one by one. The team quickly narrowed down the issue to a setting within FlyingPress:

  • Culprit: The “Delay JavaScript from Site” setting.
  • When enabled, the setting deferred all JavaScript loading until after user interaction. This improved speed scores but introduced a flicker as elements loaded in phases.
  • Disabling the setting resolved the flicker completely, though load times were slightly longer (still very fast overall).

Resolution steps

  1. Identified conflict: Through iterative testing, the developer isolated the flicker to the “Delay JavaScript” option.
  2. Tested toggles: The feature was disabled and compared to the default site behavior.
  3. Performance balance: With the setting turned off, the site retained most of its speed benefits while eliminating the flicker.
  4. Rolled out live: The fix was tested on staging before FlyingPress was activated on the live site.

Final outcome

Once deployed live, the site loaded quickly and without any visible flicker. FlyingPress proved to be an effective and user-friendly caching solution, especially with its granular configuration options. Freshy now recommends it as a strong alternative to WP Rocket and Nitropack, especially for sites where those tools fall short.

Looking to optimize WordPress site speed without breaking layout or UX? Contact Freshy — we’ll help you get the most out of tools like FlyingPress.