이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Asynchronous Javascript

설명

This plugin is meant to be a drop-in to your wordpress installation with no additional configuration. The goals/features of this plugin are:

  • Load javascript files in an asynchronous manner to improve time to DomReady/OnLoad
  • Use existing wordpress APIs for backwards compatability and prevent coupling to this plugin
  • Leverage dependency model wordpress provides for assets to improve loading performance

Please submit bugs or contributions to the github location and not here on wordpress’ system:

https://github.com/parisholley/wordpress-asynchronous-javascript/

SEO: async js, asynchronous js, async javascript

Incompatibility

This plugin will not work out the box with the following plugins (unless they are modified to support asynchronous loading).

  • Jetpack by WordPress.com (social plugin)
  • WP Most Popular

설치

  1. Upload asynchronous-javascript folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Is there any potential problems with other plugins?

As long as those plugins are using the built-in wordpress script queuing and not attempting to output scripts manually (such as invoking wp_print_scripts()), you should have no problems. If you find plugins that don’t work properly (or without modifications), let me know and I will maintain an incompatibility list.

후기

이 플러그인에 대한 평가가 없습니다.

기여자 & 개발자

“Asynchronous Javascript”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Asynchronous Javascript”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.3.5

  • Ability to mark headjs as always in header (thanks DeanStr)

1.3.4

  • Fixed notices
  • Added filter to alter src location

1.3.3

  • Fixed bug introduced in last version

1.3.2

  • Ability to specify your own head.js file (thanks to DeanStr)

1.3.1

  • Removed PHP warning

1.3.0

  • Ability to exclude files by filename or queue 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 versioning

1.1

  • Removed wp_enqueue_async_script(), should be able to use normal wordpress method wp_enqueue_script()
  • Updated normal enqueue processing to use dependencies, will need to improve upon this in future.

1.0

  • Initial release, seems to work. 🙂