Using github to serve pygal.js
- Dominant language
- Python
- Stars
- 2.8k
- Forks
- 419
- PR merge metrics
- No merged PRs in 30d
Description
Today (10-21-16) github was hit with a DDoS attack and made the chart renderings extremely slow. im using an flask application to show some data visually with pygal. When looking at this further, google chrome's developer tools shows this error: Failed to load resource: net::ERR_NAME_RESOLUTION_FAILED https://kozea.github.io/pygal.js/2.0.x/pygal-tooltips.min.js.
My question is why do you have the css all local but not the js?
Can you please change this to be a local file like the css, so this does not create issues when github is down or when there is no internet connection.
Also I can not figure out how to change the js to a local copy.
Contributor guide
Research direction
Start by tracing how pygal generates the https://kozea.github.io/pygal.js/2.0.x/pygal-tooltips.min.js reference and compare it with the locally served CSS. Check the Flask rendering path mentioned in the report. Done means the JavaScript is available locally and chart tooltips still render without GitHub or an internet connection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flask, python
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100