WordPress.org

Ready to get started?Download WordPress

Forums

Asynchronous Widgets
Very useful (1 post)

5 stars
  1. WizardOfWhiff
    Member
    Posted 1 year ago #

    On one site I have a sidebar that contains three widgets that get updates from social media sites. They are naturally quick when displaying cached content, but the unfortunate user that visits the page when the cache had to refresh would have had to wait 30sec or so to see any of them.

    I was researching how I might use multi_curl or something to load asynchronously when I found this plugin. After clicking three buttons in its settings menu, I'm now loading my social media sidebar asynchronously. There is a noticeable but very slight delay when loading from cache, but a huge increase in cache refresh performance. Thanks!

    Tip: When I first set this up, the social media sidebar looked a little funny with no content and no indicator anything was loading while the widget refreshed the cache. I set my first widget to not be asynchronous, and now it makes more sense.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.