Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Make some scripts load asynchronously #114

Closed
wants to merge 2 commits into from

Conversation

raphamorim
Copy link
Contributor

This PR make some scripts load asynchronously. The script is downloaded asynchronously while the rest of the page continues to get parsed. The script is guaranteed to be executed as soon as the download is complete.

Fonts:

  •  http://browserdiet.com/en/#async
    
  •  http://www.w3schools.com/tags/att_script_async.asp
    
  •  http://www.phpied.com/social-button-bffs/
    
  •  http://socialitejs.com/
    

Review on Reviewable

@raphamorim raphamorim changed the title Feature/improve site Feature/script load asynchronously Jul 11, 2014
@raphamorim raphamorim changed the title Feature/script load asynchronously Make some scripts load asynchronously Jul 11, 2014
@petebacondarwin
Copy link
Member

Actually I found that making prettify async breaks the code examples - so I reverted that bit

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants