Skip to content

修改了云函数,前端不会立即同步 #582

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
3 tasks done
xinchenmi opened this issue May 5, 2025 · 2 comments
Open
3 tasks done

修改了云函数,前端不会立即同步 #582

xinchenmi opened this issue May 5, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@xinchenmi
Copy link

Describe the bug

https://img.imgdd.com/1a4de7c3-d36e-4198-b3e9-a17e12961857.png
为什么修改了云函数,前端不会立即同步呢?明明都没有缓存的?很好奇

Reproduction

https://img.imgdd.com/1a4de7c3-d36e-4198-b3e9-a17e12961857.png
为什么修改了云函数,前端不会立即同步呢?明明都没有缓存的?很好奇

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.
@xinchenmi xinchenmi added the bug Something isn't working label May 5, 2025
@ohotto
Copy link

ohotto commented May 5, 2025

我也遇到了这个问题,前端和后端重启都不行,后端里面把能清除的缓存都清了也不行

反正重启了几十遍,最后也不知道怎么好了,现在轻易不敢改云函数配置hhhh

@suemor233
Copy link
Collaborator

如果前端是通过源码部署的话,可以修改前端代码 ./src/app.static.config.ts 中的 cache enabled 为 false

之后再重新构建,应该就没有缓存了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants