当前位置:网站首页>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.net
translate.googleapis.com
- Replace withgtranslate.cdn.haah.net
themes.googleusercontent.com
- Replace withgtheme.cdn.haah.net
secure.gravatar.com
- Replace withgravatar.cdn.haah.net
fonts.gstatic.com
- Replace withgstatic.cdn.haah.net
ajax.googleapis.com
- Replace withgajax.cdn.haah.net
fonts.googleapis.com
- Replace withgfont.cdn.haah.net
cdnjs.cloudflare.com
- Replace withcdnjs.cdn.haah.net
cdn.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
边栏推荐
- Lazy loading scheme of pictures
- Operators
- DDoS attack principle, the phenomenon of being attacked by DDoS
- Summary of thread and thread synchronization under window
- Applet framework taro
- [SWT component] content scrolledcomposite
- DGL中的消息传递相关内容的讲解
- 【Office】Excel中IF函数的8种用法
- vite//
- About the use of Vray 5.2 (self research notes) (II)
猜你喜欢
购买小间距LED显示屏的三个建议
Characteristics and electrical parameters of DDR4
Basics - rest style development
Basic testing process of CSDN Software Testing Introduction
关于 “原型” 的那些事你真的理解了吗?【上篇】
How to introduce devsecops into enterprises?
Bidirectional RNN and stacked bidirectional RNN
About the use of Vray 5.2 (self research notes)
go语言学习笔记-分析第一个程序
Summary of thread and thread synchronization under window
随机推荐
Operators
-26374 and -26377 errors during coneroller execution
购买小间距LED显示屏的三个建议
2022 chemical automation control instrument examination questions and online simulation examination
基础篇——REST风格开发
DGL中的消息传递相关内容的讲解
String
Scaffold development foundation
使用GBase 8c数据库过程中报错:80000305,Host ips belong to different cluster ,怎么解决?
Beego cross domain problem solution - successful trial
DDR4的特性与电气参数
COMSOL--三维图形的建立
Buried point 111
力扣(LeetCode)185. 部门工资前三高的所有员工(2022.07.04)
Taro advanced
Network security of secondary vocational group 2021 Jiangsu provincial competition 5 sets of topics environment + analysis of all necessary private messages I
32:第三章:开发通行证服务:15:浏览器存储介质,简介;(cookie,Session Storage,Local Storage)
数据类型 ntext 和 varchar 在not equal to 运算符中不兼容 -九五小庞
Go language learning notes - analyze the first program
Three paradigms of database