提交 ad8a8f2a 编写于 作者: 雪洛's avatar 雪洛

docs: update uniCloud hosting

上级 2c5c7b58
......@@ -270,6 +270,13 @@ web浏览器有跨域限制,A域名的网站如果通过js请求另一个域
需要在开发者自己的传统服务器上配置跨域,允许A域名跨域访问自己。
## 缓存问题@cache
如果在更新页面后浏览器访问到的仍是旧页面,可以通过如下流程排查
1. 客户端禁用缓存或无痕模式打开是否正常,如果是就是客户端缓存问题,需要等浏览器缓存失效
2. 排除了第一步的影响后,访问页面路径后加参数 比如 /admin#/pages/index/index 改为 /admin?v=1#/pages/index/index,如果正常则是cdn缓存问题,在uniCloud前端网页托管**配置页面**刷新缓存即可
## 最佳实践
### 部署uni-app项目@host-uni-app
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册