Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedio_http_cache

Cache Dio HTTP responses using sqflite disk and LRU memory

pub.devRemove
dio_web_adapter

Web and WASM HTTP client adapter for Dio.

pub.devRemove
ScoresHealth4383 (best)
Maintenance083 (best)
Quality8396 (best)
Popularity5459 (best)
Community1780 (best)
Compatibility84100 (best)
UsageDownloads (30 days)1.3k5.4M (best)
Likes248 (best)5
Pub points120 / 160150 / 160 (best)
GitHub stars26913k (best)
MaintenanceLatest release0.3.0, 5 years ago2.2.2, 3 months ago (best)
Major versions in 12 months00
Contributors3100+ (best)
PublisherUnverifiedflutter.cn
FitPlatformsAndroid, iOS, macOSAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationYesNo
Direct dependencies74 (best)
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Easy to add as a Dio interceptor
  • Configurable disk and memory cache limits
  • Supports custom primary/sub keys and encryption
  • Automatic stale handling and cache clearing
  • Supports both standard JS and WebAssembly (WASM) environments.
  • Enables file downloads on web using Blob URLs and browser download anchors.
  • Provides built-in CORS preflight warnings and enriched error messages.
Weaknesses
  • Depends on sqflite, adding a native dependency
  • Only works with Dio, not http or other clients
  • No built‑in support for cache purging policies beyond maxAge/maxStale
  • Downloads must buffer the entire response into memory before triggering the browser download.
  • File append modes and local deleteOnError are not supported on web.
Warnings
  • Quiet but busy
  • Unverified publisher
None
dio_http_cache vs dio_web_adapter: which Flutter package should you use? | pubscout