cacheDir
cacheDir: string | undefined
Root of the directory holding all the files that iTwin.js caches
- If not specified at startup a platform specific default is used -
- Windows: $(HOMEDIR)/AppData/Local/iModelJs/
- Mac/iOS: $(HOMEDIR)/Library/Caches/iModelJs/
- Linux: $(HOMEDIR)/.cache/iModelJs/ where $(HOMEDIR) is documented here
- if specified, ensure it is set to a folder with read/write access.
@see cacheDir for the value it's set to after startup
Defined in
- core/backend/src/IModelHost.ts Line 211
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.