Title: [Plugin: WP-Table Reloaded] Page load time
Last modified: August 20, 2016

---

# [Plugin: WP-Table Reloaded] Page load time

 *  Resolved [Andreas](https://wordpress.org/support/users/sauerland/)
 * (@sauerland)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/)
 * Would it be possible to restrict the loading of the plugin elements to posts 
   an pages where the tables are actually used?
 * The plugin puts (like other plugins) a considerable amount of elements on the
   front page and across the entire site which is rather unfavourable in terms of
   low loading times.
 * [http://wordpress.org/extend/plugins/wp-table-reloaded/](http://wordpress.org/extend/plugins/wp-table-reloaded/)

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

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2090683)
 * Hi Andreas,
 * thanks for your question.
 * By default, WP-Table Reloaded will load its CSS files and the jQuery JavaScript
   library on all pages. The JS libraries for the table features are only loaded
   if there really is a table on the page.
 * Basically, this is, because at the time when CSS and jQuery need to included 
   into the HTML code, the plugin does not yet know whether there will be a table
   on the page.
 * One easy possibility to solve this is to use the “HiFi” plugin, as the user did
   here (for a slightly different purpose): [http://wordpress.org/support/topic/individual-column-filtering?replies=9#post-2110091](http://wordpress.org/support/topic/individual-column-filtering?replies=9#post-2110091)
   
   You could use that plugin to only load the CSS on the page with your table.
 * Regards,
    Tobias
 *  Thread Starter [Andreas](https://wordpress.org/support/users/sauerland/)
 * (@sauerland)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2090831)
 * Thanks for the fast reply, Tobias.
 * Unfortunately, that way doesn’t seem to help. I’m not even using the Java libraries
   on pages with table, they are not the problem (well, problem is a rather big 
   word for a tenth or two of a second).
 * My problem are these elements
 *     ```
       <br />
       ...e/wp-content/plugins/wp-table-reloaded/img/bg.gif<br />
       ...e/wp-content/plugins/wp-table-reloaded/img/asc.gif<br />
       ...e/wp-content/plugins/wp-table-reloaded/img/desc.gif<br />
       ...e/wp-content/plugins/wp-table-reloaded/img/back_disabled.jpg<br />
       ...e/wp-content/plugins/wp-table-reloaded/img/back_enabled.jpg<br />
       .../wp-content/plugins/wp-table-reloaded/img/forward_disabled.jpg<br />
       ...e/wp-content/plugins/wp-table-reloaded/img/forward_enabled.jpg<br />
       ```
   
 * These little images are loaded on the front page (with no tables) and no special
   Java library enabled for the front end.
 * Again, it’s not only you’re plugin behaving that way (as you can see here: [http://tools.pingdom.com/default.asp?url=http%3a%2f%2fsmmp.de%2f&id=4692965](http://tools.pingdom.com/default.asp?url=http%3a%2f%2fsmmp.de%2f&id=4692965)).
 * Perhaps a sprite would do some good or an `is_singular()` instead of a global
   head or footer injection. Just an idea. I know as much about writing plugins 
   as about Chinese poetry.
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2090846)
 * Hi Andreas,
 * I’m not really sure, but I believe that these images are loaded because the CSS
   file of WP-Table Reloaded is loaded (and the files are referenced in that).
 * A sprite would definitely be nice, but unfortunately, this would require changes
   in the DataTables JavaScript library, which I can’t do.
 * As you are not using the JS library on any table, have you globally deactivated
   the usage on the “Plugin Options” screen? That way, the CSS file should not be
   included and thus no images should be loaded.
    After setting the option, you 
   might need to clear the wp-minify cache, as that’s where I spotted the CSS code
   in your site.
 * Regards,
    Tobias
 *  Thread Starter [Andreas](https://wordpress.org/support/users/sauerland/)
 * (@sauerland)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2090870)
 * CSS and JS libraries are disabled in the plugin options and any table related
   CSS is stored in the main stylesheet. Therefore, it’s rather weird that these
   tiny images are still called on the front page. I begin to suspect that wp-minify
   is doing a better than wanted job in collecting CSS and JS from every corner 
   of the site. So, it’s not your plugin, but another one. Thanks again for your
   quick response, Tobias.
 * Ha – got it! Just killed references to those image in the main stylesheet. Oh,
   I’m such a bum. Sorry, for bothering you Tobias!
 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [15 years ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2090887)
 * Hi Andreas,
 * no problem. It might be that wp-minify (for some reason) included the datatables.
   css as well, when plugin.css is enough (if you have disabled JS libraries site-
   wide).
    I don’t know how wp-minify works, but if you were able to remove those
   references, that should do it.
 * Best wishes,
    Tobias
 *  [xeno010](https://wordpress.org/support/users/xeno010/)
 * (@xeno010)
 * [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2091037)
 * Check this Plugin [http://wordpress.org/extend/plugins/wp-table-reloaded-compatible-for-wp-minify/](http://wordpress.org/extend/plugins/wp-table-reloaded-compatible-for-wp-minify/)

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

The topic ‘[Plugin: WP-Table Reloaded] Page load time’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-table-reloaded_f7dcd3.svg)
 * [WP-Table Reloaded](https://wordpress.org/plugins/wp-table-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-table-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-table-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-table-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-table-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-table-reloaded/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [xeno010](https://wordpress.org/support/users/xeno010/)
 * Last activity: [14 years, 11 months ago](https://wordpress.org/support/topic/plugin-wp-table-reloaded-page-load-time/#post-2091037)
 * Status: resolved