Web缓存网

一个免费、快速、可靠的网站静态加速服务。
使用国内主流CDN分发网络,缓存常用或指定Web项目的静态资源,来加速您的网站的访问。
目前已包含常用前端公共库、Google字体库服务、CDNJS镜像服务、NPM资源文件服务,且已支持对托管在GitHub、GitLab、Gitea、Gitee、GitCode和Bitbucket等代码托管平台下的Web项目的加速。

Google字体服务

本服务仅为中转服务,没有国内CDN加速效果,因为本服务为动态服务,不可缓存。
服务地址为:https://font.alnk.cn
有以下几种子服务:

Google字体文件服务

本服务为静态文件服务,有国内CDN加速效果,敬请使用。
服务地址为:https://font.webstatic.cn
有以下几种子服务:
  • Google个性字体

    URL路径格式为: /google/:font/:version/:file
    映射到原地址为:https://fonts.gstatic.com/s/
  • Google原始字体

    URL路径格式为: /google_fonts/:font/:version/:file
    映射到原地址为:https://fonts.gstatic.com/ea/
  • Google主题字体

    URL路径格式为: /google_themes/:font/:version/:file
    映射到原地址为:https://themes.googleusercontent.com/static/fonts/

unpkg.com的国内镜像缓存加速

URL路径格式为:https://npm.webcache.cn/:package@:version/:file
例如:

// 指定版本号 https://npm.webcache.cn/react@16.7.0/umd/react.production.min.js
https://npm.webcache.cn/react-dom@16.7.0/umd/react-dom.production.min.js
// 指定版本为版本范围或代码标签或忽略版本号 https://npm.webcache.cn/react@^16/umd/react.production.min.js
https://npm.webcache.cn/react@beta/umd/react.production.min.js
https://npm.webcache.cn/react/umd/react.production.min.js
// 可以只指定软件包名而忽略路径,系统会自动从该软件包下的package.json查找主文件 https://npm.webcache.cn/jquery
https://npm.webcache.cn/three
// 在软件包名后追加'/',可以查看该软件包的文件列表 https://npm.webcache.cn/react/
https://npm.webcache.cn/react-router/

支持GitHub代码托管服务下的常用web项目:

URL路径格式为: https://code.webcache.cn/gh/:user/:repo@:version/:file
开发版格式为: https://code-dev.webcache.cn/gh/:user/:repo@:version/:file
例如:

// lodash https://code.webcache.cn/gh/lodash/lodash@4.17.21/dist/lodash.min.js
// jQuery https://code.webcache.cn/gh/jquery/jquery@3.6.4/dist/jquery.min.js
// bootstrap https://code.webcache.cn/gh/twbs/bootstrap@5.2.3/dist/js/bootstrap.min.js
// echarts https://code.webcache.cn/gh/apache/echarts@5.4.2/dist/echarts.min.js

完整介绍请点击旁边的“Repository”标签。

支持以下主流代码托管服务下的常用web项目的缓存加速:

  • for GitHub

    URL路径格式为: /gh/:user/:repo@:version/:file
  • for GitLab

    URL路径格式为: /gl/:user/:repo@:version/:file
  • for Gitea

    URL路径格式为: /gt/:user/:repo@:version/:file
  • for Gitee

    URL路径格式为: /ge/:user/:repo@:version/:file
  • for GitCode

    URL路径格式为: /gc/:user/:repo@:version/:file
  • for BitBucket

    URL路径格式为: /bb/:user/:repo@:version/:file

共有两个服务版本:


URL路径格式说明:

  • :user 用户名
  • :repo 代码仓库名
  • :version 版本号,或tag标签,或代码分支,正式版仅限版本号。
  • :file 代码仓库下的文件相对路径

其他说明:

本服务采用白名单机制,会初始收录部分常用Web项目,如需其他项目,需联系我们申请收录。本服务正式版和开发版的白名单分开独立申请,但开发版会自动包含正式版的内容。请在申请时注明什么版本。
提示:本站大部分服务都设有白名单或黑名单,在使用前请注意合理用途,并及时申请白名单。