{"repo":"MayakaApps/Kache","free":true,"listed":false,"github":"https://github.com/MayakaApps/Kache","clone":"git clone https://github.com/MayakaApps/Kache.git","description":"Kache is a lightweight Kotlin Multiplatform caching library that supports both in-memory and persistent caches and supports different eviction strategies (LRU, FIFO, MRU, and FILO).","language":"Kotlin","stars":218,"topics":["coroutines","kmm","kmm-library","kotlin","kotlin-library","android","android-library","cache","java"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"Kache Kache is a lightweight Kotlin Multiplatform caching library that supports both in-memory and persistent caches and supports different eviction strategies (LRU, FIFO, MRU, FILO). Supported platforms: JVM (and Android ) JS (Browser does not support persistent cache) macOS (macosX64, macosArm64) iOS (iosArm64, iosX64, iosSimulatorArm64) watchOS (watchosArm32, watchosArm64, watchosX64, watchosDeviceArm64, watchosSimulatorArm64) tvOS (tvosArm64, tvosX64, tvosSimulatorArm64) Linux (linuxX64, linuxArm64) Windows (mingwX64) androidNative (androidNativeArm32, androidNativeArm64, androidNativeX86, androidNativeX64): only supported by in-memory cache for now Why use Kache? Kotlin Multiplatform. Use the same code for Android, iOS, and other platforms. In-memory and persistent caches. Use the same API for both in-memory and persistent caches. Different eviction strategies. Use any common strategy: LRU, FIFO, MRU, or FILO. Coroutine-friendly. Get rid of blocking implementations. Simple and modern API that helps you do almost whatever you want using a single call. Setup (Gradle) Kotlin DSL: Groovy DSL: Don't forget to replace with the latest found on the badges above or the desired version. Usage You can create your cache using the following builder DSL, then you can use the usual operators of get, put, and remove and their different implementations. Sample Code ( Kache ): Sample Code ( FileKache ): Documentation See documentation here License All the code inside this library is licen","default_branch":null,"files":null,"tree":[],"storefront":"/r/MayakaApps","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MayakaApps/Kache/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}