staticallyio / statically

The CDN for developers.
https://statically.io
MIT License
585 stars 91 forks source link

Bug report (and suggestion) #96

Open hi098123 opened 2 years ago

hi098123 commented 2 years ago

Bug (if .ico == html)

https://good.gsr4demo.pki.goog/ <- Google Root CA test site

GET https://good.gsr4demo.pki.goog/favicon.ico [200, text/html]

GET https://good.sca1a.amazontrust.com/favicon.ico [404, text/html]

if returns http 200 and text/html has bug

Suggestion 1

cdn.statically.io return cloudflare.staticallydns.com. But depending on the region(and ISP), Fastly is faster. (TTFB)

In South, Korea. KT(Korea Telecom), No. 1 in market share. TTFB Fastly vs CloudFlare Regardless of the file size, the difference is about 4 times.

No. 2, 3 in market share CF is faster 1~2 times

In the past, it was connected to a fast CDN when applied automatically.

cdn.statically.io

image

cdn.staticaly.com

image

This applies even when the file size is large.

Suggestion 2

Can't respond by changing the header to text/plain? (if not authorized and text/html header found.) I don't use html, but I think something like this will work

Suggestion 3

Do you have any plans to support npm?

Thanks for maintaining good service! 👍