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

Single Point of Failure Found: unpkg.com #695

Closed
MananTank opened this issue Dec 2, 2022 · 1 comment · Fixed by #700
Closed

Single Point of Failure Found: unpkg.com #695

MananTank opened this issue Dec 2, 2022 · 1 comment · Fixed by #700

Comments

@MananTank
Copy link
Member

Problem

A CSS file is loaded from unpkg.com and it is a SPOF

image

If unpkg.com goes down or responds very slowly, the website does not render anything because rendering is blocked by that CSS file

image

WebPageTest Report: https://www.webpagetest.org/video/compare.php?tests=221202_AiDc8Q_96D,221202_AiDcWE_96F


Solution

Self-host this CSS file instead of relying on unpkg.com

@jnsdls
Copy link
Member

jnsdls commented Dec 3, 2022

good find, been looking to get rid of react-vis in the project actually, but we still have 1 single graph based on it left in the splits contract page. The idea of self-hosting it instead is fine (though I do unpkg.com is a decent host and we should be fine in general).

If you want to throw up a PR to self-host it I'd happily take it @MananTank, if not we'll tackle it (one way or another) soon.

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 a pull request may close this issue.

2 participants