Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiyuyizhi/own-staticresourceservice
node实现的静态资源服务
https://github.com/xiyuyizhi/own-staticresourceservice
Last synced: 24 days ago
JSON representation
node实现的静态资源服务
- Host: GitHub
- URL: https://github.com/xiyuyizhi/own-staticresourceservice
- Owner: xiyuyizhi
- Created: 2016-06-21T13:17:54.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-07-12T05:44:09.000Z (over 8 years ago)
- Last Synced: 2024-02-22T20:03:13.396Z (9 months ago)
- Language: JavaScript
- Size: 198 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
##node实现的静态资源服务##
- ***加入缓存及开启gZip***
- ***test目录为对node服务中的资源的引用测试***
1. *使用gulp-rev等相关插件来生成资源的hash文件名及cdn地址的替换*
2. *使用ftp协议部署资源到node服务目录*
3. *gulp之后对于内容没有更改(及文件名不变)的文件过滤掉,不上传到node服务目录下*