Jetpack by WordPress.com
[resolved] Blog subscriptions widget excessive https requests (3 posts)

  1. Yui
    Ice & Fire
    Posted 3 years ago #

    Blog subscriptions widget is on front page,
    every time page is generated an request is made to uri https://jetpack.wordpress.com/xmlrpc.php?for=jetpack

    1) its remote
    2) its https

    and therefore is slow (adds at least 1 second), and because its made EVERY page generation (unless cached by object cache) it affects performance, thus doing too much remote requests isnt very nice for api server too.

    maybe add in future versions of jetpack an option to just display form for subcriptions and dont make any query for subscription status?


  2. Jeremy Herve
    Jetpack Mechanic
    Plugin Author

    Posted 3 years ago #

    The subscription widget shouldn't make so many requests. The widget indeed includes an option to display the number of subscribers on your blog, but this value is saved in a transient and cached for an hour, thus making sure that your site doesn't make an outgoing request on every page load.

    If you do not want the number of subscribers to be displayed, you can uncheck this option in the widget settings under Appearance > Widgets in your dashboard.

  3. Yui
    Ice & Fire
    Posted 3 years ago #

    thank you for explantation, Jeremy
    I am using xcache object cache, but on switching to new theme xcache variable cache has been disabled, therefore seems transients caching wasnt working at all and this caused excess requests to be made on every page generation.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic