用 RawGit 服務供應檔案

RawGit 可以讓你直接連 GitHub 的檔案,並且帶入適當的 Content-Type

RawGit serves raw files directly from GitHub with proper Content-Type headers.

production url 用的是 NetDNA (MaxCDN):

cdn.rawgit.com.         3600    IN      CNAME   rawgit.rawgh.netdna-cdn.com.

不過一般情況下可以直接用 raw.github.com,這個是 GitHub 提供的網址,目前使用 Fastly

raw.github.com.         30      IN      CNAME   github.map.fastly.net.
This entry was posted in CDN, Computer, Murmuring, Network, WWW and tagged , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *