• We have a wp-e-commerce shopping cart with >2000 products in it in >200 categories. Visiting the category or product pages with wordpress-https enabled causes these pages to be unloadable and time out. (The product page currently has >500K of html as output if this is significant).

    Given that I don’t particularly care if wordpress-https is enabled in admin, my simple solution was to remove the parser init call (as the parser module was what was timing out in the PHP log). While it solves my problem, this seems laden with error possibilities, so I figured I would post a support topic about it

    My solution:

    global $wordpress_https;
    if(is_admin()){
      // print_r($wordpress_https);
      // Hack to make the huge admin pages work
      $parser = $wordpress_https->getModule('Parser');
      $wordpress_https->unloadModule('Parser');
      remove_action('init', array($parser, 'startOutputBuffering'));
      // print_r($wordpress_https);
    }

    Do you have a better solution for disabling the output buffering and parsing on the admin side, or perhaps a solution to why it takes so long? (The category page goes from <1sec to >45sec for 20K of html).

    I’ld rather not post my customers site, but if you contact me by email (my user @gmail), I can probably arrange a login to the site if you think its needful.

    https://wordpress.org/plugins/wordpress-https/

The topic ‘WordPress HTTPS > Parser enabled on admin screens causing timeouts’ is closed to new replies.