就在8月15号JsDelivr发布了可接受使用策略(Acceptable Use Policy)
我也是今天才听到站长群里有人在讨论,听到这个消息我也是被雷到了,几天前我使用了JsDelivr做了一个随机美图接口。我还没正式投入使用呢,就凉了??!
于是我去JsDelivr看了一下最值得我们注意的就是第四点和第五点。

4. Prohibited Use

The following behavior is prohibited:

  1. Hosting or accessing content that:

    • contains malware or harmful code in any form,
    • violates proprietary rights of others,
    • is sexually explicit,
    • is potentially illegal in the EU or the USA.
  2. Abusing the service and its resources, or using jsDelivr as a general-purpose file or media hosting service. This includes, for example:

    • running an image hosting website and using jsDelivr as a storage for all uploaded images,
    • hosting videos, file backups, or other files in large quantities.
      We recognize that there are legitimate projects that consist of a large number of files, and these are not considered abuse. For example: icons packs, apps, or games with a large number of assets.
  3. Trying to bypass our limits or restrictions in any way. We will be happy to remove limits or provide custom solutions for legitimate projects.## 5. Additional Restrictions in China

jsDelivr holds an ICP license issued by the Chinese government, which allows us to operate infrastructure directly in Mainland China. To keep this license and allow our Chinese users to benefit from the performance improvements it provides, any content served via our Chinese network must conform to Chinese policies. Content potentially violating Chinese policies may be blocked in China without warning.

其中的第四点就禁止了将JsDelivr作为所谓的图床使用,第五点说明了违反中国大陆法律的内容将会被屏蔽!通过Github+JsDelivr做图床,如果产生大量文件或图片,则可能会被屏蔽。只是用于css、js的加速,则是允许的(废话,要不然cdn不是彻底废了)。
所以推荐图床自用,如果想做公共图床,那自用图床还是跟公共图床分开建立吧。

最后修改:2020 年 08 月 31 日 09 : 41 PM
正在沿街乞讨中...