mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
561 B
Plaintext
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`
|