5 ms·
This looks quite awesome! As a quick suggestion, the wiki (https://github.com/polychart/polychart2/wiki https://github.com/polychart/polychart2/wiki) recommends
by bensedat 14y ago
This looks quite awesome!
As a quick suggestion, the wiki (https://github.com/polychart/polychart2/wiki https://github.com/polychart/polychart2/wiki) recommends using github as the CDN which I thought was highly discouraged. However I can't find any official stance on this anymore..did it change?
- niggler 14y agoTake a peek at the headers: $ curl -I https://raw.github.com/Polychart/polychart2/develop/polychart2.standalone.js You will see Content-Type: text/plain; charset=utf-8 X-Content-Type-Options: nosniff This is a deadly combination: browsers may reject script tags with incorrect MIME types if nosniff is set.
- bensedat 14y agoAh, that solves that :) I've seen recommendations of using Github Pages instead, but again I can't find any official Github stance on it. I'm guessing they reserve the right to cut you off if you start using large amounts of bandwidth.