location / {
try_files $uri $uri/ @router;
index index.html;
add_header Cache-Control "no-cache, no-store";
}
location ~* \.(css|js|jpg|jpeg|png|svg|woff|woff2|ttf|ico|xml|txt)$ {
expires 30m;
add_header Cache-Control "public";
}
记录vue打包缓存问题
最新推荐文章于 2024-10-10 13:13:22 发布