Package cache page
This page is hosted by the Main window.
The primary purpose of the package cache is to optimize load performance.
A secondary purpose is to allow package resolution to include packages not found in
the workspace, see
Package resolution search depth dropdown.
Basically, the cache consists of artifacts extracted from
.app
files. The location of the cache is
%LOCALAPPDATA%\Statical\PrismAL\PackageCache
.
Prism for AL writes to the cache during loading when encountering a new package or a new version of a known package. Anti-virus programs can slow down this process significantly, so – if your security policy allows – you may consider excluding the cache folder from being scanned. If you are using Windows Defender, you can use PowerShell to exclude Prism for AL's cache directory. See below how to obtain a PowerShell script for Windows Defender. For other anti-virus programs, please check the documentation.

# | Name | Description |
---|---|---|
1 | Copy script to clipboard | Copy PowerShell script for excluding Prism for AL's package cache from Windows Defender to clipboard. |
2 | Publisher | The module's publisher. Click to sort. |
3 | Name | The module name. Click to sort. |
4 | Version | The module's version. Click to sort. |
5 | Size | The size on disk of this cache entry. Click to sort. |
6 | Total size | The total size on disk of all cache entries. |
7 | Wipe selected package | Select a package by clicking a row. Then click Wipe selected package to remove the package from the cache. |
8 | Wipe all packages | Click to empty the cache. This will save disk space, but will slow down first-time loading of workspaces. |