Do Plugins effect site loading time?

Yes, Plugins effect site loading time.

There are many poorly written Plugins that make unnecessary database queries and load numerous files to the page.

The extra JavaScript and CSS files are not that big of deal unless you are using numerous plugins. I have worked on large sites that had 30 or 40 active plugins and the server would crash during any high traffic periods so it can be an issue.

To see what extra files are being loaded you can simply view source or use the net tab on Firebug.

alt text

Another good way to find external files loaded by plugins is to use W3 Total Cache’s minify help wizard.

The wizard scans your theme and plugins and recommends the ones to combine and minify and for what page to load them on.

alt text

To monitor Plugin database queries and cpu time you can add the following code to the bottom of your footer.php:

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

This will allow you to view the source of each page and see how many queries are being made and how long it takes to make them.

Ex:

alt text

Of course this won’t tell you what Plugin is responsible for the queries but allows you to do testing while disabling and activating different combinations.

Leave a Comment