我已经使用vue.js
webpack 模板开发了我的项目。我想配置 firebse cdn/caching。但是不知道该怎么办。。
我浏览了文档https://firebase.google.com/docs/hosting/manage-cache
并发现
res.set('Cache-Control', 'public, max-age=300, s-maxage=600');
要添加。但是在部署之前我在哪里添加我的 vuejs 项目。请如果有人可以帮助我。
我已经使用vue.js
webpack 模板开发了我的项目。我想配置 firebse cdn/caching。但是不知道该怎么办。。
我浏览了文档https://firebase.google.com/docs/hosting/manage-cache
并发现
res.set('Cache-Control', 'public, max-age=300, s-maxage=600');
要添加。但是在部署之前我在哪里添加我的 vuejs 项目。请如果有人可以帮助我。