# gulp-nocache **Repository Path**: javey/gulp-nocache ## Basic Information - **Project Name**: gulp-nocache - **Description**: Version static assets. Clear cache of browser when you publish your webapp. - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2015-04-28 - **Last Updated**: 2021-11-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # gulp-nocache 重命名所有静态资源,并替换相应的引用路径,用于解决web上线后浏览器缓存静态资源的问题。[Web-NoCache](https://github.com/Javey/nocache) ## Install ``` npm install gulp-nocache ``` ## Usage [gulpfile.js](https://github.com/Javey/gulp-nocache/blob/master/test/gulpfile.js)示例 ### Input ``` ./web ├── edit.png ├── index.html ├── index.js ├── main.css └── main.js ``` ### Output ``` ./build ├── edit.bf460a.png ├── index.0060a9.js ├── index.html ├── main.01cb6e.css └── main.9968bc.js ``` index.html ```html