appCacheDir
appCacheDir():
Promise
<string
>
Defined in: path.ts:176
Returns the path to the suggested directory for your app’s cache files.
Resolves to ${cacheDir}/${bundleIdentifier}
, where bundleIdentifier
is the identifier
value configured in tauri.conf.json
.
Promise
<string
>
import { appCacheDir } from '@tauri-apps/api/path';const appCacheDirPath = await appCacheDir();
1.2.0
© 2025 Tauri Contributors. CC-BY / MIT