当前位置:网站首页>Cdn.jsdelivr.net is not available, what should I do
Cdn.jsdelivr.net is not available, what should I do
2022-07-28 07:29:00 【Programmer Xiao Tan】
Hello everyone , I'm Xiao tan .
Here's the thing , Before my personal website testtalking Slow loading occurs , Even inaccessible problems .

lately , The software testing project I provide to you free of charge on the official account , After opening the home page , It will also keep circling .

Question why
The reasons for these two problems are the same : Refer to the cdn.jsdelivr.net Static files for , And the website has collapsed .

cdn.jsdelivr.net It's a free one ( You can go whoring for nothing ) Of CDN Site services , Many websites at home and abroad are whoring it for nothing .
Content distribution network (Content Delivery Network,CDN): By publishing site content to massive acceleration nodes all over the world , So that its users can get the content they need nearby , Avoid network congestion 、 Cross operator 、 Cross region 、 Network instability caused by cross-border and other factors 、 High access latency issues , Effectively improve the download speed 、 Reduce response time , Provide a smooth user experience .
Solution
since cdn.jsdelivr.net Collapsed , You can't go whoring for nothing , We have to solve the problem manually :
1、 Full text search in the code cdn.jsdelivr.net Related links
2、 Enter these links in the browser , And save it locally ( You can also hand roll a simple request Script , Bulk download )
3、 Put the downloaded static file into your CDN Service ( It can also be placed under the local path of the code )
4、 Replace the code , The access path of all links is 3 The path of step
If your personal website encounters similar problems , It can be handled in this way . But when dealing with , You may encounter inaccessible cdn.jsdelivr.net The problem of , I also helped you find a solution —— According to version No , Go to other places CDN Services get static resources , such as cdn.bootcss.com/axios/0.19.2/axios.min.js
Besides , All major cloud service providers can buy CDN service , I suggest you build a set by yourself CDN service , For example, I , I set up a personal website by hand CDN service .
After all , Where you should spend money, you should be willing to spend money ~
Of course , The above work , I've finished it for you .
You just need to download again code.zip File can .

边栏推荐
- 【jvm优化超详细】常见的JVM调优场景
- Read the IP and device information of the switch node in the XML file, Ping the device, and the exception is displayed in the list
- uniapp 移动端 两种横竖屏切换方案
- 登录heroku出现 IP address mismatch的解决方案
- On deep paging
- 大话持久性与redolog
- .NET 6.0中使用Identity框架实现JWT身份认证与授权
- Install Nessus under win
- 动态内存管理知识点
- 高响应比优先
猜你喜欢
随机推荐
华为交换机拆解,学EMC基本操作
大话持久性与redolog
Heroku operation summary
ESLint常见问题解决方案集锦
WiFi one click connection configuration of raspberry pie
干货|分享一个EMC实际案例及整改过程
Retryer of guava
小红花STL
整改了七次,花了半个月时间,惨痛的EMC总结
cdn.jsdelivr.net不可用,该怎么办
Essential performance optimization topics in the interview~
Basic usage and precautions of arrow function (= >) and three-point operator (...) in ES6 (this points to)
低端电脑如何深度学习秘籍-使用mistGPU计算平台
Deeply analyze the implementation of singleton mode
ThreadLocal那些事
Basic knowledge of video format: let you know MKV, MP4, h.265, bit rate, color depth, etc
Tutorial (7.0) 06. Zero trust network access ztna * forticlient EMS * Fortinet network security expert NSE 5
nodejs操作MongoDB
Metasploit penetration MS7_ 010 exercise
0727~面试题梳理









