LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ng-cache

manages Angular CLI persistent disk cache

TLDR

Enable cache
$ ng cache enable
copy
Disable cache
$ ng cache disable
copy
Delete all cached build artifacts from disk
$ ng cache clean
copy
Print cache configuration and statistics
$ ng cache info
copy
Enable caching in all environments, including CI
$ ng config cli.cache.environment all
copy
Change the cache storage path
$ ng config cli.cache.path ".cache/ng"
copy

SYNOPSIS

ng cache command [options]

DESCRIPTION

ng cache manages the Angular CLI's persistent disk cache. The cache stores the results of cachable operations, allowing subsequent builds to reuse those results and significantly decrease build times.Cache is enabled by default for local development machines. It is disabled in CI environments by default (detected via the CI environment variable).Cache behaviour can be further configured in angular.json under `cli.cache`:- enabled — whether the cache is active- environment — where caching applies: `local` (default), `ci`, or `all`- path — directory used to store cache files (default: `.angular/cache`)

PARAMETERS

enable, on

Enables persistent disk cache for all projects in the workspace.
disable, off
Disables persistent disk cache for all projects in the workspace.
clean
Deletes persistent disk cache from disk.
info
Prints persistent disk cache configuration and statistics.

SEE ALSO

ng(1), ng-build(1), ng-config(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid