Skip to content

Commit

Permalink
Merge pull request #20 from shinsenter/develop
Browse files Browse the repository at this point in the history
Async improvement
  • Loading branch information
shinsenter authored Apr 8, 2019
2 parents b53ca2a + 99ea0ba commit 8846413
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 41 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
- [Install to your page](#install-to-your-page)
- [Basic usage](#basic-usage)
- [Defer loading of JavaScript](#defer-loading-of-javascript)
- [The easiest way to defer JavaScript](#the-easiest-way-to-defer-java-script)
- [Dynamically load and run JavaScript](#dynamically-load-and-run-java-script)
- [The easiest way to defer JavaScript](#the-easiest-way-to-defer-javascript)
- [Dynamically load and run JavaScript](#dynamically-load-and-run-javascript)
- [Lazy-load stylesheets](#lazy-load-stylesheets)
- [Lazy-load media](#lazy-load-media)
- [Lazy an image or a video](#lazy-an-image-or-a-video)
Expand Down Expand Up @@ -143,7 +143,7 @@ npm install @shinsenter/defer.js

### Defer loading of JavaScript

JavaScript execuations, especially ones that trigger extensive visual changes, can stall application performance.
JavaScript executions, especially ones that trigger extensive visual changes, can stall application performance.

Delaying loading and executing most of the JavaScript on your site minimizes the time it slows down the page rendering process. Your site will get a higher score in website speed tests.

Expand Down
2 changes: 1 addition & 1 deletion dist/defer_plus.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8846413

Please sign in to comment.