Troubleshooting WordPress issues

On this page

Using Sirv with WP Rocket

The Sirv plugin works well alongside the WP Rocket plugin, to improve page optimisation. However, the options to "Load JavaScript deferred" and "Delay JavaScript execution" will prevent sirv.js from loading on page load, which can cause missing images. To solve this:

1. Navigate to the "File Optimization" section of your WP Rocket settings:

File Optimization section on WP Rocket settings

2. If you've enabled the "Load JavaScript deferred" and "Delay JavaScript execution" options, be sure to exclude https://scripts.sirv.com/sirvjs/v3/sirv.js from the list, like so:

Exclude sirv.js

3. Then save those changes.

Help from a Sirv expert

If you have any questions about how to use the Sirv for WordPress plugin, please contact our support team from your Sirv account.

Was this article helpful?

Get help from a Sirv expert

help ukraine help ukraine Powered by Ukrainian determination and British ingenuity

How can you support Ukraine