当前位置:网站首页>解决访问国外公共静态资源速度慢的问题
解决访问国外公共静态资源速度慢的问题
2022-07-05 10:52:00 【辉哥博客】
简介
由于众所周知的原因,jsdelivr国内被墙,部分地区可能无法正常访问,其他国外的公共静态资源也存在访问速度慢或无法正常访问的问题,为解决该问题,辉哥博客&蓝易云安全
开发了国外静态资源js和css资源CDN替换国内
的脚本,供所有用户免费使用。
说明
本项目为免费,该cdn节点为蓝易云安全赞助,如不喜欢,请勿喷!如果您有该相关技术,可以联系辉哥加入项目组,进行维护。
原理
此脚本可以将以下的 cdn 资源替换为国内的:
www.gstatic.com
- 替换为wgstatic.cdn.haah.net
translate.googleapis.com
- 替换为gtranslate.cdn.haah.net
themes.googleusercontent.com
- 替换为gtheme.cdn.haah.net
secure.gravatar.com
- 替换为gravatar.cdn.haah.net
fonts.gstatic.com
- 替换为gstatic.cdn.haah.net
ajax.googleapis.com
- 替换为gajax.cdn.haah.net
fonts.googleapis.com
- 替换为gfont.cdn.haah.net
cdnjs.cloudflare.com
- 替换为cdnjs.cdn.haah.net
cdn.jsdelivr.net
- 替换为js.cdn.haah.net
所有国内加速服务的域名列表如下,您只需要修改程序里的原域名即可
原域名 | 加速域名 | 制作方法 |
---|---|---|
cdnjs.cloudflare.com | cdnjs.cdn.haah.net | Nginx 反代 |
ajax.googleapis.com | gajax.cdn.haah.net | Nginx 反代 |
fonts.googleapis.com | gfont.cdn.haah.net | Nginx 反代 |
fonts.gstatic.com | gstatic.cdn.haah.net | Nginx 反代 |
themes.googleusercontent.com | gtheme.cdn.haah.net | Nginx 反代 |
secure.gravatar.com | gravatar.cdn.haah.net | Nginx 反代 |
www.gstatic.com | wgstatic.cdn.haah.net | Nginx 反代 |
translate.googleapis.com | gtranslate.cdn.haah.net | Nginx 反代 |
cdn.jsdelivr.net | js.cdn.haah.net | Nginx 反代 |
后续持续补充。。。
安装
边栏推荐
- Cron表达式(七子表达式)
- deepfake教程
- Wechat nucleic acid detection appointment applet system graduation design completion (8) graduation design thesis template
- Data types ntext and varchar are incompatible in the not equal to operator - 95 small pang
- 磨砺·聚变|知道创宇移动端官网焕新上线,开启数字安全之旅!
- Four departments: from now on to the end of October, carry out the "100 day action" on gas safety
- 关于vray 5.2的使用(自研笔记)
- Go语言-1-开发环境配置
- Three paradigms of database
- C # to obtain the filtered or sorted data of the GridView table in devaexpress
猜你喜欢
2022 mobile crane driver examination question bank and simulation examination
DDR4硬件原理图设计详解
Detailed explanation of DDR4 hardware schematic design
Wechat nucleic acid detection appointment applet system graduation design completion (6) opening defense ppt
2022 chemical automation control instrument examination questions and online simulation examination
不要再说微服务可以解决一切问题了!
Codeforces Round #804 (Div. 2)
Operation of simulated examination platform of special operation certificate examination question bank for safety production management personnel of hazardous chemical production units in 2022
关于vray5.2怎么关闭日志窗口
基于OpenHarmony的智能金属探测器
随机推荐
Cross page communication
Node の MongoDB Driver
Ddrx addressing principle
go语言学习笔记-初识Go语言
Use bat command to launch common browsers with one click
[JS] extract the scores in the string, calculate the average score after summarizing, compare with each score, and output
关于 “原型” 的那些事你真的理解了吗?【上篇】
LSTM applied to MNIST dataset classification (compared with CNN)
Web Security
2022 chemical automation control instrument examination questions and online simulation examination
LDAP overview
String
Web3 Foundation grant program empowers developers to review four successful projects
谈谈对Flink框架中容错机制及状态的一致性的理解
sklearn模型整理
【Oracle】使用DataGrip连接Oracle数据库
Wechat nucleic acid detection appointment applet system graduation design completion (7) Interim inspection report
【广告系统】Parameter Server分布式训练
BOM//
About the use of Vray 5.2 (self research notes)