WordPress.org

Support

Support » Plugins and Hacks » WP User Frontend » [Plugin: WP User Frontend] Unbearably Slow

[Plugin: WP User Frontend] Unbearably Slow

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Tareq Hasan

    @tareq1988

    I still couldn’t able to locate the bottleneck. Trying to find it.

    I looked at my version – 0.1 LOL!!!

    I have more than 25,000 users on one of my wordpress sites. Turning on 1.x version of this plugin causes a major bottleneck. 0.1 works perfectly. Limited options but does what it needs. Glad to help you with this if I can. An otherwise fantastic plugin.

    I found the bottleneck!
    In wpuf-functions.php:

    add_filter( ‘the_content’, ‘wpuf_show_meta_front’ );

    causes the slow down. The function ‘wpuf_show_meta_front’ shows the custom field data and attachments to the post. If you don’t need it, just disable the filter:

    // add_filter( ‘the_content’, ‘wpuf_show_meta_front’ );

    Plugin Author Tareq Hasan

    @tareq1988

    Are you sure thats causing it?

    yes, measured it with Firebug.

    before: 8s load time
    after deactivating the function: 4s load time

    Btw my load time without the wp user frontend plugin was around 2s.

    Another bootleneck is in wpuf-payment.php:

    // add_filter( ‘the_content’, array($this, ‘payment_page’) );

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WP User Frontend] Unbearably Slow’ is closed to new replies.
Skip to toolbar