Skip to content

Commit

Permalink
Avoid rendering issues from async loading
Browse files Browse the repository at this point in the history
We want pages which render quickly, smoothly, and securely. Techniques
which disrupt a smooth rendering process should be avoided.
  • Loading branch information
jferris committed Jan 15, 2016
1 parent 11a3e7c commit ae2f4a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions best-practices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,13 @@ Email
[MailView]: https://github.com/37signals/mail_view
[ActionMailer Preview]: http://api.rubyonrails.org/v4.1.0/classes/ActionMailer/Base.html#class-ActionMailer::Base-label-Previewing+emails

Web
---

* Avoid a Flash of Unstyled Text, even when no cache is available.
* Avoid rendering delays caused by synchronous loading.
* Use https instead of http when linking to assets.

JavaScript
----------
* Use Coffeescript, ES6 with [babel], or another language that compiles to
Expand Down

0 comments on commit ae2f4a3

Please sign in to comment.