Forums

[resolved] Trying plugins - slows down site? (11 posts)

  1. kjetilgf
    Member
    Posted 3 years ago #

    Is it correct that many plugins leave scripts and codes in different WP files even if they're deactivated?
    If so, that may be the explanation why our site loads much sower than it should.
    Any experiences?
    Thanks,
    Kjetil

  2. Dgold
    Member
    Posted 3 years ago #

    Possibly so, but not usually. Many or most plugins are fine, and won't slow your site down any noticeable amount. I've made sites with 20 plugins in-use, that had maybe 10-20 other plugins I had tried and disabled.

    Other things are usually more a factor on your site speed. The size of the graphics & media loading.... What web host and server...

    It can be useful to check the # of queries to the database, that could be another factor. This factor could possibly be affected by certain plugins, so maybe.

  3. kjetilgf
    Member
    Posted 3 years ago #

    Thanks a lot
    <b>How do I check the number of queries?</b>
    Since probably the plugins and at least the images (all light) should be fine, this and server speed remain as main suspects.
    By the way, I've had to use 39 plugins and also 50+ widgets (showing on different pages/posts) - maybe that's also a bit heavy? Complex site, you see :o)
    Kj

  4. Dgold
    Member
    Posted 3 years ago #

    There's not a magic number of queries or widgets allowed. It could be a very high number. But it could have an affect on speed of loading. Might not be the whole answer.

    Check what these posts say about queries.
    The first link gives you the template tags (code) to put in your footer that will display the # of queries. Then you just disable some of the plugins, and reload the homepage and look if the # of queries went down.

    http://afreewebhost.com/forum/how-to%27s/wordpress-how-to-display-the-number-of-queries-and-page-generation-time/

    <?php echo $wpdb->num_queries; ?> <?php _e('queries'); ?>. <?php timer_stop(1); ?> <?php _e('seconds'); ?>

    see also
    http://weblogtoolscollection.com/archives/2008/07/12/how-many-queries-are-too-many/

  5. Binh
    Member
    Posted 3 years ago #

    I have over 200 queries count on cars.apmart.com. Is it abnormal? How many queries your site use?

  6. kjetilgf
    Member
    Posted 3 years ago #

    Thanks Dgold
    Hope I can dig into this during the next few days. Just a bit busy :o)

  7. krembo99
    Member
    Posted 3 years ago #

    Plugins that are deactivated should not affect your site (unless they made some permanent change to the DB.
    Activated Plugins in general DO slow things up, because adding a plugin means adding functions (and sometimes queries like people said here).
    Those functions require your server to read / write different things.
    So actually, it much depends on your server if the process becomes something you notice in terms of loading time .
    I have sites with over 30 plugins installed, and I never notices any slower loading process.
    However, If you use a more complicated plugin you will notice some difference.
    FOr example , in the next-gen plugin , There is a noticeable difference if you load an image with the WordPress function, or the same image with the next-gen 'singleimage' function (which is slower.

  8. kjetilgf
    Member
    Posted 3 years ago #

    Thanks - this makes sense. Also the point that it all is a question of server speed, and if the server's quick, even 30 plugins work fine.
    Conclusion is: I'll have to switch host.
    Kjetil - Dolcevita.no
    - not using NextGen Gallery - have even spread the heaviest plugins on different WP installations (an other story)
    PS - By the way, What is "general DO"?

  9. whooami
    Member
    Posted 3 years ago #

    PS - By the way, What is "general DO"?

    its a fragment, that requires a couple commas:

    Activated Plugins, in general, DO slow things up, ...

  10. krembo99
    Member
    Posted 3 years ago #

    PS - By the way, What is "general DO"?

    its a fragment, that requires a couple commas:

    Activated Plugins, in general, DO slow things up, ...

    First smile I had all day ...

    I see the parsers here need some new coding :-)
    Next Time I will try to clean my syntax.

    (I am just kidding, you are right, but after answering questions in 5-6 languages, in several different places, on several different subjects, I tend to type quickly, hence the grammar / typo mistakes..)

  11. kjetilgf
    Member
    Posted 3 years ago #

    Just to finish this thread - the pages load much faster after I switched to a new host. I don't know what made the difference, but at least all our plugins did not cause the slow loading.
    Kj

Topic Closed

This topic has been closed to new replies.

About this Topic