HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ng cache — Configure the persistent disk cache and retrieve cache statistics. More information: <https://angula

Submitted by: @import:tldr-pages··
0
Viewed 0 times
thecommanddiskconfigurecacheclipersistentng cache

Problem

How to use the ng cache command: Configure the persistent disk cache and retrieve cache statistics. More information: <https://angular.dev/cli/cache>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/ng cache

Revisions (0)

No revisions yet.