21 lines
468 B
Markdown
21 lines
468 B
Markdown
|
|
# 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`
|