当前位置:网站首页>Solve the problem of slow access to foreign public static resources
Solve the problem of slow access to foreign public static resources
2022-07-05 11:15:00 【Huige blog】
brief introduction
For well-known reasons ,jsdelivr Domestic wall , Some areas may not be accessible normally , Other foreign Public static resources There are also problems of slow access or abnormal access , To solve the problem , Whig blog & Lanyi Cloud Security Developed Abroad Static resources js and css resources CDN Replace domestic Script for , Free for all users .
explain
This project is free , The cdn The node is Lanyi Cloud Security sponsorship , If you don't like , Do not spray ! If you have the relevant technology , You can contact Huige to join the project team , For maintenance .
principle
This script can put the following cdn Replace resources with domestic :
www.gstatic.com- Replace withwgstatic.cdn.haah.nettranslate.googleapis.com- Replace withgtranslate.cdn.haah.netthemes.googleusercontent.com- Replace withgtheme.cdn.haah.netsecure.gravatar.com- Replace withgravatar.cdn.haah.netfonts.gstatic.com- Replace withgstatic.cdn.haah.netajax.googleapis.com- Replace withgajax.cdn.haah.netfonts.googleapis.com- Replace withgfont.cdn.haah.netcdnjs.cloudflare.com- Replace withcdnjs.cdn.haah.netcdn.jsdelivr.net- Replace withjs.cdn.haah.net
The list of domain names of all domestic acceleration services is as follows , You only need to modify the original domain name in the program
| Original domain name | Accelerate domain name | Production methods |
|---|---|---|
| cdnjs.cloudflare.com | cdnjs.cdn.haah.net | Nginx The generation of |
| ajax.googleapis.com | gajax.cdn.haah.net | Nginx The generation of |
| fonts.googleapis.com | gfont.cdn.haah.net | Nginx The generation of |
| fonts.gstatic.com | gstatic.cdn.haah.net | Nginx The generation of |
| themes.googleusercontent.com | gtheme.cdn.haah.net | Nginx The generation of |
| secure.gravatar.com | gravatar.cdn.haah.net | Nginx The generation of |
| www.gstatic.com | wgstatic.cdn.haah.net | Nginx The generation of |
| translate.googleapis.com | gtranslate.cdn.haah.net | Nginx The generation of |
| cdn.jsdelivr.net | js.cdn.haah.net | Nginx The generation of |
Follow up continuous supplement ...
install
Installation address :https://greasyfork.org/zh-CN/scripts/447112
边栏推荐
- 【Office】Excel中IF函数的8种用法
- Lazy loading scheme of pictures
- Web Components
- 磨礪·聚變|知道創宇移動端官網煥新上線,開啟數字安全之旅!
- IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
- 解决访问国外公共静态资源速度慢的问题
- [there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
- About the use of Vray 5.2 (self research notes)
- Go language learning notes - analyze the first program
- [first release in the whole network] (tips for big tables) sometimes it takes only 1 minute for 2 hours of SQL operation
猜你喜欢

无密码身份验证如何保障用户隐私安全?

Detailed explanation of DDR4 hardware schematic design

不要再说微服务可以解决一切问题了!

Detailed explanation of MATLAB cov function
![[Oracle] use DataGrid to connect to Oracle Database](/img/4f/886378667889f730eaed39b97f0a39.png)
[Oracle] use DataGrid to connect to Oracle Database

九、磁盘管理

R3Live系列学习(四)R2Live源码阅读(2)
![[advertising system] parameter server distributed training](/img/8b/558c2fefbd16b580546003f3afeaf5.png)
[advertising system] parameter server distributed training

Three suggestions for purchasing small spacing LED display

Wechat nucleic acid detection appointment applet system graduation design completion (8) graduation design thesis template
随机推荐
【DNS】“Can‘t resolve host“ as non-root user, but works fine as root
Array
vite//
COMSOL--三维随便画--扫掠
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
Wechat nucleic acid detection appointment applet system graduation design completion (7) Interim inspection report
Modulenotfounderror: no module named 'scratch' ultimate solution
Basic testing process of CSDN Software Testing Introduction
Basic part - basic project analysis
DOM//
使用GBase 8c数据库过程中报错:80000502,Cluster:%s is busy,是怎么回事?
【爬虫】wasm遇到的bug
Pull up loading principle
Do you really understand the things about "prototype"? [part I]
力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
Stop saying that microservices can solve all problems!
Explanation of message passing in DGL
2022 mobile crane driver examination question bank and simulation examination
R3Live系列学习(四)R2Live源码阅读(2)
In the last process before the use of the risk control model, 80% of children's shoes are trampled here