Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Shane Bishop

    (@nosilver4u)

    strange that it would add that much to your page load, unless your site gets a ton of visitors, but I did discover some stuff that would unnecessarily add load time to your front-facing pages. I’ve moved it all into the admin with 1.6.2. Give that a try and see how things go.

    Thread Starter darksider59

    (@darksider59)

    what kind of stuff ?

    Plugin Author Shane Bishop

    (@nosilver4u)

    Some of the initialization was being done outside of the admin_init hook:
    1. checking and installing of the binaries. On my test box, which is kind of old, this was mere milliseconds. However, multiply that by every page load, and if you’re getting a substantial amount of traffic, I suppose it could add up.
    2. If you had a cloud API key installed for the plugin, it would verify that on EVERY page load.
    3. It also did all the system checks: for exec(), operating system, and safe mode (possibly others I can’t remember off-hand).

    Most of this was inherited when I forked the plugin a year ago, but I think it became a bigger issue with the introduction of the cloud functionality. Although if you didn’t have an API key entered, #2 is a moot point and I’m shocked by a 13 second page load. At any rate, it is totally useless to do all that unless an admin page is being loaded where we can actually show alerts and such.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘website slows down with plugin’ is closed to new replies.