Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于jsdeliver在国内的ICP许可证被吊销 #65

Closed
llxlr opened this issue May 17, 2022 · 14 comments
Closed

关于jsdeliver在国内的ICP许可证被吊销 #65

llxlr opened this issue May 17, 2022 · 14 comments

Comments

@llxlr
Copy link

llxlr commented May 17, 2022

在群里有人说jsdeliver被墙了,我最近也感觉访问确实有点问题

JsDelivr不再提供国内CDN加速改为全球加速

看起来是国内的节点早换成全球的了,但我近期才有问题

@Or0kit
Copy link

Or0kit commented May 18, 2022

博客莫名其妙炸了,是因为这个原因吗?

@Or0kit
Copy link

Or0kit commented May 18, 2022

把主题中所有的 cdn.jsdelivr.net 换成了 fastly.jsdelivr.net 就没事了。参考至:Jsdelivr CDN 加速服务又被 DNS 污染了(附临时解决方案)

@llxlr
Copy link
Author

llxlr commented May 19, 2022

把主题中所有的 cdn.jsdelivr.net 换成了 fastly.jsdelivr.net 就没事了。参考至:Jsdelivr CDN 加速服务又被 DNS 污染了(附临时解决方案)

可以

@Niko-Karen
Copy link

请问怎么更改cdn的前缀啊,翻了js没找着

@Or0kit
Copy link

Or0kit commented May 20, 2022 via email

@Niko-Karen
Copy link

我在vscode里打开的主题文件夹(方便搜索替换),搜索 cdn.jsdelivr.net 然后把主题中所有的 cdn.jsdelivr.net 替换成 fastly.jsdelivr.net 。 从 Windows 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>发送

________________________________ 发件人: Niko @.> 发送时间: Friday, May 20, 2022 9:06:38 PM 收件人: amehime/hexo-theme-shoka @.> 抄送: Or0kit @.>; Comment @.> 主题: Re: [amehime/hexo-theme-shoka] 关于jsdeliver在国内的ICP许可证被吊销 (Issue #65) 请问怎么更改cdn的前缀啊,翻了js没找着 ― Reply to this email directly, view it on GitHub<#65 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AXNT6PXOJVZUDTMU7JFGYF3VK6E55ANCNFSM5WEUGXDA. You are receiving this because you commented.Message ID: @.***>
!这么绝,直接全部替换?!

@Or0kit
Copy link

Or0kit commented May 20, 2022 via email

@Niko-Karen
Copy link

image
其实没有那么麻烦,把这个jsdelivr字符串去掉就好

@Niko-Karen
Copy link

image 其实没有那么麻烦,把这个jsdelivr字符串去掉就好

你还可以换成例如像字节跳动资源库这些都行,还更快

@llxlr
Copy link
Author

llxlr commented May 21, 2022

image 其实没有那么麻烦,把这个jsdelivr字符串去掉就好

你还可以换成例如像字节跳动资源库这些都行,还更快

除了 gh/amehime/MiniValine@4.2.2-beta10/dist/MiniValine.min.js ,当然可以发布到 npmjs 来解决

@llxlr
Copy link
Author

llxlr commented May 22, 2022

现在的状态比较怪,两点时候还是连接重置,而后四点又能访问,还有待观察
next-theme/hexo-theme-next#507

@lixianglong3210
Copy link

我的博客也是突然炸了,果然跟jsdelivr有关,老是访问没有响应,换成了 fastly.jsdelivr.net就没事了

@Niko-Karen
Copy link

楼主楼主,我换成fastly之后,会报一个错误,lozad is not defined image

看看你上面那个报错,没有换完全。而且换完之后可以浏览器先禁用缓存、再刷新。
image

@ioolm
Copy link

ioolm commented Jun 1, 2022

@Niko-Karen 找半天终于找到原因了,cdn是换过了,但是我本来以为是lazad版本太老了,我去npm找了一个lazyload的链接放上去了,原来npm上有一个lazad的包,还原了链接好了,但是吧,这个项目不大,浏览器一打开,cpu和内存飙升,怎么着手去优化一下呢

@llxlr llxlr closed this as completed Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants