Skip to main content

How to delay loading?

Although the plugins of this house are not heavy, I have the problem that they are adding a lot of time: fluentcrm, wp ninja and forms add up to 2 seconds.

How can I delay their loading to improve the times? Especially on mobile devices.

Look my code profiler screeenshot.

How to delay loading?

The big problem with the Profiler plugin is, it's the composer loading timing is aggregated. I replied to a similar thread a few days ago.

You can run a test by disabling all the plugins and only keep the a target plugin and the profiler and see the result. As I said, if we even load later, it will just move the timing to the next plugin’s Composer. Now. We can lazy load the composer but it will then show the benchmark to another plugin’s composer autoload. So the it’s a zero sum game.