alto invalidate command is used to invalidate the cache of CDN resources
for a given instance of the application.
The command takes as an argument the
instance where the CDNs to be
invalidated are deployed.
You can invalidate specific CDNs or all CDNs in an application by using the
--cdns options. These options are mutually exclusive.
By default, if not specified, all paths on the CDNs are invalidated using the
/*. To invalidate only specific paths, use the
As a best practice, you should limit the scope of the invalidated paths whenever possible for better performance of you CDNs.
$ alto invalidate <instance-name>
The instance that contains the CDNs to be invalidated.
Invalidate all CDNs.
--cdns <list of CDNs>
Invalidate only a given subset of CDNs.
The paths to invalidate. Default is "/*".
Specify the project working directory.
If not specified, project directory is assumed to be the current directory.