WordPress.org

Forums

Authors Widget
Patch for performance problems on multisite installations. (1 post)

  1. Adam Franco
    Member
    Posted 4 years ago #

    We run a large multi-site WordPress installation with several hundred blogs and about 5,000 users. We were noticing serious performance problems with the authors widget and upon investigation found that the authors widget was selecting every single one of our 5,000 users, loading all of their information, then only printing out those that had posts on the current blog.

    I've written a fix which instead just fetches users that have posts on the current blog, rather than all users. This fix drops the rendering time for the authors widget on our site from 45 seconds to several hundred milliseconds.

    Patch:
    authors_widget-get_authors.patch

    Zipped widget with the patch applied:
    authors-get_authors.zip

    I'd be happy to submit this patch somewhere, but couldn't find any issue tracker or other place to submit patches for this widget.

    Adam

    http://wordpress.org/extend/plugins/authors/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Authors Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic