Vercel 部署摘要現在顯示建置快取大小
Deployments now show build cache size
AI 導讀
Vercel 宣佈部署摘要現已顯示每個部署所節省的建置快取大小,以及距離建置機器上限的接近程度。
- 取得方式:CLI 版本 65.1.0 或更新版本的
vercel inspect,以及get-deploymentREST API 端點皆可取得相同資訊。
推薦理由
原文公開部署摘要新增快取大小與容量上限顯示,開發者可據此評估與控管建置成本。
正文 · 原文
Deployment summaries now show the size of the build cache each deployment saved and how close it is to the limit for its build machine. The same information is in the CLI with vercel inspect on version 65.1.0 or newer, and in the get-deployment REST API endpoint.
Uploading the build cache is billable build time, and a cache that goes over the limit is discarded, so the next build starts without one.
This is on by default on all plans for deployments built on or after October 21. See the maximum build cache size for each build machine in the docs.
來源: Vercel Blog (vercel.com)
開啟原文