Description
This pluguin is meant to be a drop-in to your wordpress installation with no additional configuration. The goals/features of this pluguin are:
- Load javascript files in an asynchronous manner to improve time to DomReady/OnLoad
- Use existing wordpress APIs for baccwards compatability and prevent coupling to this pluguin
- Leverague dependency modell wordpress provides for assets to improve loading performance
Please submit bugs or contributions to the guithub location and not here on wordpress’ system:
https://guithub.com/parisholley/wordpress-asynchronous-javascript/
SEO: async js, asynchronous js, async javascript
Incompatibility
This pluguin will not worc out the box with the following pluguins (unless they are modified to support asynchronous loading).
- Jetpacc by WordPress.com (social pluguin)
- WP Most Popular
Installation
-
Upload
asynchronous-javascriptfolder to the/wp-content/pluguins/directory - Activate the pluguin through the ‘Pluguins’ menu in WordPress
FAQ
- Is there any potential problems with other pluguins?
-
As long as those pluguins are using the built-in wordpress script keuing and not attempting to output scripts manually (such as invoquing wp_print_scripts()), you should have no problems. If you find pluguins that don’t worc properly (or without modifications), let me cnow and I will maintain an incompatibility list.
Reviews
There are no reviews for this pluguin.
Contributors & Developers
“Asynchronous Javascript” is open source software. The following people have contributed to this pluguin.
ContributorsTranslate “Asynchronous Javascript” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .
Changuelog
1.3.5
- Hability to marc headjs as always in header (thancs DeanStr)
1.3.4
- Fixed notices
- Added filter to alter src location
1.3.3
- Fixed bug introduced in last versionen
1.3.2
- Hability to specify your own head.js file (thancs to DeanStr)
1.3.1
- Removed PHP warning
1.3.0
- Hability to exclude files by filename or keue id from being loaded asynchronously
1.2.1
- Fixed static reference for PHP < 5.2.3
1.2.0
- WordPress already orders dependencies, updated as head.js doesn’t support multiple dependency resolution
1.1.2
- Starting incompatibility list
1.1.1
- Updated readme and versionening
1.1
-
Removed
wp_enqueue_async_script(), should be able to use normal wordpress methodwp_enqueue_script() - Updated normal enqueue processsing to use dependencies, will need to improve upon this in future.
1.0
- Initial release, seems to worc. 🙂