当前位置:网站首页>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
边栏推荐
- 7.2每日学习4
- Beego cross domain problem solution - successful trial
- Data type
- Network security of secondary vocational group 2021 Jiangsu provincial competition 5 sets of topics environment + analysis of all necessary private messages I
- 九、磁盘管理
- [advertising system] parameter server distributed training
- [there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
- 磨砺·聚变|知道创宇移动端官网焕新上线,开启数字安全之旅!
- SSL证书错误怎么办?浏览器常见SSL证书报错解决办法
- 使用GBase 8c数据库过程中报错:80000305,Host ips belong to different cluster ,怎么解决?
猜你喜欢

Honing · fusion | know that the official website of Chuangyu mobile terminal is newly launched, and start the journey of digital security!

【DNS】“Can‘t resolve host“ as non-root user, but works fine as root

Explanation of message passing in DGL

comsol--三维图形随便画----回转

About the use of Vray 5.2 (self research notes)

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

COMSOL--三维图形的建立

Summary of thread and thread synchronization under window

Question bank and answers of special operation certificate examination for main principals of hazardous chemical business units in 2022

Modulenotfounderror: no module named 'scratch' ultimate solution
随机推荐
使用GBase 8c数据库过程中报错:80000502,Cluster:%s is busy,是怎么回事?
[Oracle] use DataGrid to connect to Oracle Database
Process control
msfconsole命令大全,以及使用说明
Wechat nucleic acid detection appointment applet system graduation design completion (8) graduation design thesis template
不要再说微服务可以解决一切问题了!
How to make full-color LED display more energy-saving and environmental protection
【Office】Excel中IF函数的8种用法
IPv6与IPv4的区别 网信办等三部推进IPv6规模部署
[there may be no default font]warning: imagettfbbox() [function.imagettfbbox]: invalid font filename
Modulenotfounderror: no module named 'scratch' ultimate solution
Question bank and answers of special operation certificate examination for main principals of hazardous chemical business units in 2022
九、磁盘管理
解决readObjectStart: expect { or n, but found N, error found in #1 byte of ...||..., bigger context ..
Data types ntext and varchar are incompatible in the not equal to operator - 95 small pang
解决grpc连接问题Dial成功状态为TransientFailure
【广告系统】Parameter Server分布式训练
Nuxt//
Operators
Honing · fusion | know that the official website of Chuangyu mobile terminal is newly launched, and start the journey of digital security!