Files
cheatsheet-tldr/tldr/ng-cache
2026-01-01 00:25:00 +00:00

26 lines
561 B
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ng cache
> Configure the persistent disk cache and retrieve cache statistics.
> More information: <https://angular.dev/cli/cache>.
- Delete the persistent disk cache:
`ng cache clean`
- Disable the persistent disk cache for all projects in the workspace:
`ng cache {{[off|disable]}}`
- Enable the persistent disk cache for all projects in the workspace:
`ng cache {{[on|enable]}}`
- Print persistent disk cache configuration and statistics:
`ng cache info`