Skip to content

Commit 40e6f35

Browse files
committed
update comment
1 parent e4ae480 commit 40e6f35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

KtorKMPFileCaching/src/commonMain/kotlin/fr/frankois944/ktorfilecaching/KtorFileCaching.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ internal expect fun InternalFileCacheStorage(
2525
* Creates a multiplatform file-based cache storage.
2626
*
2727
* On Browser and Wasm Kotlin apps, the `LocalStorage` of the browser
28-
* is used for storing cached content instead of okio
28+
* is used for storing cached content instead of okio,
29+
* a prefix is added `fr.frankois944.ktorfilecaching_key` on the stored keys.
2930
*
3031
* @param storedCacheDirectory directory to the stored cache (unused of browser).
3132
* @param directoryPath base path to store cache data (unused of browser), by default `SYSTEM_TEMPORARY_DIRECTORY` of okio.

0 commit comments

Comments
 (0)