Closed breadtk closed 9 years ago
This pull now includes moving Dygraph from Dygraph.com to Cloudflare's hosted solution which is much faster.
One other thing, I would also recommend that you take a look at your <script>
usage in head. A lot of Cfiresim's load time could be reduced significantly if you used async
attributes on <script>
tags that need to wait for the Dom. Prime candidates include /js/cFIREsimOpen.js
, /js/marketData.js
(due to its size), and /js/validation.js
.
A longer and detailed explanation of why this is good can be found in this StackExchange answer.
Additionally moved the end of file scripts to be ontop of
</body>
since this is technically against HTML convention to be outside of<html>
tag.