WordPress.org

Ready to get started?Download WordPress

Ideas

Non-blocking Asynchronous wp_enqueue_script

  1. redwallhp
    Member

    12345

    It would be cool if WordPress could optionally use a non-blocking asynchronous loader for scripts loaded through wp_enqueue_script. (Example: http://www.webmaster-source.com/2010/06/07/loading-javascript-asynchronously/)

    Wp_enqueue_script already has an argument that lets you move scripts to the bottom, so why not an option for async?

    Posted: 4 years ago #
  2. Paris Holley
    Member

    I have just released a plugin that does that:

    http://wordpress.org/extend/plugins/asynchronous-javascript/

    Posted: 1 year ago #
  3. webaware
    Member

    12345

    For anyone who needs this, there's a dirty hack from @toscho on the WordPress Stackexchange:

    http://wordpress.stackexchange.com/a/38335/24260

    Posted: 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

  • Rating

    12345
    14 Votes
  • Status

    This idea is under consideration