https://github.com/lete114/hexo-hash
为静态资源创建哈希版本 | Create hash versions for static resources
https://github.com/lete114/hexo-hash
assets cache caching expire file files hash rev revving version
Last synced: 2 months ago
JSON representation
为静态资源创建哈希版本 | Create hash versions for static resources
- Host: GitHub
- URL: https://github.com/lete114/hexo-hash
- Owner: Lete114
- License: mit
- Created: 2022-05-05T13:15:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-18T07:21:16.000Z (about 3 years ago)
- Last Synced: 2025-03-22T18:11:19.074Z (about 1 year ago)
- Topics: assets, cache, caching, expire, file, files, hash, rev, revving, version
- Language: JavaScript
- Homepage: https://blog.imlete.cn/article/Static-resource-cache-control.html
- Size: 40 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## 简介
> 如果觉得还不错,可以给个 star✨ 支持一下 😊
该插件主要用于破除 HTTP 缓存
## 安装
```bash
npm install hexo-hash --save
```
## 添加配置信息
```yml
# Hexo-hash
# https://github.com/Lete114/Hexo-hash
hash:
enable: true # 是否启用
# 更多配置信息请看: https://github.com/Lete114/cache-hash
```