GoogleChrome / web-vitals

Essential metrics for a healthy site.
https://web.dev/vitals
Apache License 2.0
7.47k stars 410 forks source link

CDN JS - Web server is returning an unknown error #463

Closed smallma closed 4 months ago

smallma commented 4 months ago

CDN js got an error message: Web server is returning an unknown error.

https://unpkg.com/web-vitals@3/dist/web-vitals.iife.js

image

tunetheweb commented 4 months ago

This is the same for every package on unpkg so seems to be an issue at their end, and nothing that we can do unfortunately. The contact details for unpkg are: https://twitter.com/unpkg

tunetheweb commented 4 months ago

Closing as seems to be back now.

smallma commented 4 months ago

maybe you can provide a stable cdn link or js where to download for CDN user. Thanks.

philipwalton commented 4 months ago

@smallma see this disclaimer on using a CDN in the README: https://github.com/GoogleChrome/web-vitals?tab=readme-ov-file#from-a-cdn

Important! The unpkg.com CDN is shown here for example purposes only. unpkg.com is not affiliated with Google, and there are no guarantees that the URLs shown in these examples will continue to work in the future.

In general we recommend people self-host this library for both security and reliability reasons.