Async JavaScript

説明

When a JavaScript file is loaded via the wp_enqueue_script function, Async JavaScript will add an async or defer attribute.

There are several ways an external JavaScript file can be executed:

  • If async is present: The script is executed asynchronously with the rest of the page (the script will be executed while the page continues the parsing)
  • If defer is present and async is not present: The script is executed when the page has finished parsing
  • If neither async or defer is present: The script is fetched and executed immediately, before the browser continues parsing the page

Using async or defer helps to eliminate render-blocking JavaScript in above-the-fold content. This can also help to increase your pagespeed which in turn can assist in improving your page ranking.

Want more control? Async JavaScript Pro allows you to:

  • Selective ‘async’ – choose which JavaScripts to apply ‘async’ to
  • Selective ‘defer’ – choose which JavaScripts to apply ‘defer’ to
  • Exclude individual scripts – choose which JavaScripts to ignore
  • Exclude plugins – choose local plugin JavaScripts to ignore
  • Exclude themes – choose local theme JavaScripts to ignore

Read more…

インストール

Just install from your WordPress “Plugins | Add New” screen and all will be well. Manual installation is very straight forward as well:

  1. Upload the zip-file and unzip it in the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. Go to SettingsAsync JavaScript menu to load setings page

FAQ

Installation Instructions

Just install from your WordPress “Plugins | Add New” screen and all will be well. Manual installation is very straight forward as well:

  1. Upload the zip-file and unzip it in the /wp-content/plugins/ directory
  2. WordPress の「プラグイン」メニューからプラグインを有効化してください
  3. Go to SettingsAsync JavaScript menu to load setings page
Which browsers support the ‘async’ and ‘defer’ attributes

The ‘async’ attribute is new in HTML5. It is supported by the following browsers:

  • Chrome
  • IE 10 and higher
  • Firefox 3.6 and higher
  • Safari
  • Opera
Where can I get help?

Async JavaScript is supported exclusively via our Support Ticketing System at https://cloughit.com.au/support/

What support do you provide?

We will provide support for any functionality of the Async JavaScript plugin itself, suggestions for theme / plugin support and suggestions on how Async JavaScript could be improved.

What support don’t you provide?

We will not provide support for questions such as ‘Why is Async JavaScript not making any improvement on my site?’. If you need this level of support we offer a bundled Async JavaScript Pro plus Installation & Configuration (homepage only) AUD $155.00 (buy now!)

Can I use the WordPress Forums to get support for Async JavaScript?

No. Support is provided via our Support Ticketing System at https://cloughit.com.au/support/

Can I email the author directly to get support for Async JavaScript?

No. Support is provided via our Support Ticketing System at https://cloughit.com.au/support/

What about CSS?

As the name implies, Async JavaScript is built to enhance JavaScript loading only. Async JavaScript does not have any impact on CSS.

We recommend using the awesome Autoptimize plugin alongside Async JavaScript for CSS optimization.

Do you have a pro version?

Yes we do! Here are some of the benefits of Async JavaScript Pro:

  • Selective ‘async’ – choose which JavaScripts to apply ‘async’ to
  • Selective ‘defer’ – choose which JavaScripts to apply ‘defer’ to
  • Exclude individual scripts – choose which JavaScripts to ignore
  • Exclude plugins – choose local plugin JavaScripts to ignore
  • Exclude themes – choose local theme JavaScripts to ignore

Buy Now!

I want out, how should I remove Async JavaScript?
  • Disable the plugin
  • Delete the plugin

評価

Excellent!

This is a MUST HAVE guys! Great job! Please continue your awesome work in updating this plugin!

Changed my Rating

———-

Update: Seems that the author is changing his direction and is agressively using advertising for pro versions inside the post editor. I changed my rating because this is telling enough about the future of this plugin.
———-

Old Rating

I don’t know what he is doing other but this plugin has an insane good algorithm

Where Pagespeed and other Plugins (and also defer and async by hand) failing his plugin is the solution.

Keep up the awesome work,
you have just beaten google

24件のレビューをすべて表示

貢献者と開発者

Async JavaScript はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

変更履歴

2017.06.13

  • MOD: Dashboard Widget and Notices only available to Administrators

2.17.05.07

  • MOD: Remove front facing JS and CSS as not needed

2.17.05.05

  • FIX: Incorrect textarea identifier preventing exclusion save

2.17.05.04

  • FIX: CSS / JS not loading

2.17.05.03

  • MOD: Add test to advise running Wizard is not mandatory

2.17.04.25

  • massive Massive MASSIVE rewrite of Async JavaScript!!!
  • Now includes a setup Wizard, Status page, Settings page and a help page.
  • Communicates directly with GTmetrix (account required)

1.17.02.06

  • FIX: Remove variable notice

1.17.01.22

  • MOD: Changes in notice functionality

1.17.01.14

  • MOD: Update readme.txt information
  • MOD: Minify plugin JS & CSS

1.16.12.12

  • MOD: WordPress 4.7 Support
  • AD: Christmas Sale Sale

1.16.10.25

  • AD: Crazy One Week Sale

1.16.09.30

  • MOD: Better detection of jQuery core file

1.16.08.17

  • FIX: Typo in variable name

1.16.08.11

  • NEW: Select jQuery handler
  • NEW: Select Autoptimize handler

1.16.08.10

  • FIX: Return $tag instead of $src

1.16.08.09

  • MOD: Added ability to check for spaces in comma separated exclusion list
  • MOD: Added support link

1.16.06.22

  • MOD: Remove admin message marketing
  • MOD: Moved menu item to Settings menu
  • MOD: Fixed marketing image css
  • MOD: Fixed spelling of ‘JavaScript’ to ‘JavaScript’

1.16.06.21

  • MOD: converted from ‘clean_url’ to ‘script_loader_tag’ filter

1.16.03.23

  • FIX: added check for empty string entered in exclusions

1.16.03.13

  • FIX: Fixed autoptomize settings
  • FIX: Removed redundant settings

1.16.03.12

  • FIX: Adjust code flow for registered settings

1.16.03.11

  • FIX: Properly register options

1.16.02.18

  • NEW: Added dismissable upgrade notice

1.16.02.17

  • NEW: Added information for Async JavaScript Pro

1.15.02.23.1

  • FIX: Code error fix

1.15.02.23

  • NEW: Tested for WordPress v4.1.1
  • NEW: Added ability to provide a comma seperated list of scripts to be excluded from async/defer (thanks to Nico Ryba for this suggestion)

1.14.12.19

  • NEW: Tested for WordPress v4.1

1.14.12.11.2

  • FIX: Repaired broken SVN issue preventing plugin install

1.14.12.11.1

  • FIX: Repaired broken SVN issue preventing plugin install

1.14.12.11

  • FIX: Updated minor versioning issue

1.14.12.10

  • Genesis