![](/img/trans.png)
[英]after making Service Worker, my site only loads when I delete cache
[英][TURBOREPO]: is it possible to use remote-cache pointing to the vercel service instead of making own cache server
Turborepo 标记If you are building and hosting your apps on Vercel, Remote Caching will be automatically set up on your behalf once you use turbo. You need to update your build settings to build with turbo.
If you are building and hosting your apps on Vercel, Remote Caching will be automatically set up on your behalf once you use turbo. You need to update your build settings to build with turbo.
如果我在 .netlify 部署我的堆栈,我还能使用 Vercel 提供的缓存服务吗?
谢谢
很确定你可以。 不要认为将它部署在哪里并不重要。 你仍然需要做:
npx turbo login
和
npx turbo link
为了访问缓存。
然后,您需要将您的 CI 链接到 Vercel 远程缓存,这意味着从 Vercel 配置中获取令牌、API 和 TEAM,并将它们作为 turbo 环境变量添加到您的ci.yaml
配置中。
有关详细信息,请参阅 CI 食谱文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.