Skip to content
NLNuvyntra Labs
All packages

HTTP & APIs

Plugin.Maui.ApiCache

HTTP GET cache with CacheFirst and SWR

Lightweight HTTP/API response cache for MAUI. ApiResilience retries; this package remembers GET responses so screens stay fast offline and on flaky networks.

Install

dotnet add package Plugin.Maui.ApiCache

Package ID: Plugin.Maui.ApiCache

Overview

Plugin.Maui.ApiCache is a lightweight HTTP GET response cache for MAUI on Android and iOS. Resilience is not caching. ApiResilience retries and queues requests. This package remembers GET responses so list and detail screens stay fast offline and on flaky networks, with CacheFirst, NetworkFirst, StaleWhileRevalidate, NetworkOnly, and CacheOnly policies.

Capabilities

  • GET response cache with typed deserialization.
  • CacheFirst with stale fallback on network failure.
  • Stale-while-revalidate for instant screens plus a background refresh.
  • CacheOnly for forced offline reads.

Related in HTTP & APIs