Compatibility with WPRocket

You are here:
Estimated reading time: 1 min

Troubleshooting

Header buttons cannot be clicked

This issue can happen if the WPRocket version is outdated. Starting with WPRocket 3.9 the Delay Javascript functionality has been refactored and the latest version of Rey is only compatible with this one.

Try ensuring you’re running the latest version of Rey Core.

On mobile, header buttons needs to be clicked twice

This is a result of the WPRocket’s Delay Javascript functionality. This feature will offload all site’s javascript, until an event in the page is triggered. Some of these events are click, mousemove, scroll, touchstart etc.

So basically the first tap will load the scripts and execute them, while the 2nd tap will actually run its task and do what it’s supposed to.

On desktop it’s much easier because there’s a high chance for mouse movement, scroll etc. It’s just how this option works.

Page content appears blank on load

This is a result of the WPRocket’s Delay Javascript functionality. This feature will offload all site’s javascript, until an event in the page is triggered. Some of these events are click, mousemove, scroll, touchstart etc.

Basically on page load, no javascript was executed. So it’s likely a slider or something that’s dependent on javascript’s “DOM Loaded” or Window Load event listeners, will not load. Only when there’s a movement, scroll or other event, the javascript will run.

Was this article helpful?
Dislike 0
Views: 17

Join the conversation