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
http2

An HTTP/2 implementation in Dart for low-level transport and pooled HTTP/2 requests.

pub.devRemove
ScoresHealth4391 (best)
Maintenance099 (best)
Quality8393 (best)
Popularity5488 (best)
Community1780 (best)
Compatibility8485 (best)
UsageDownloads (30 days)1.3k965k (best)
Likes248 (best)97
Pub points120 / 160150 / 160 (best)
GitHub stars2691.1k (best)
MaintenanceLatest release0.3.0, 5 years ago3.2.0, 4 days ago (best)
Major versions in 12 months0 (best)1
Contributors3100+ (best)
PublisherUnverifieddart.dev
FitPlatformsAndroid, iOS, macOSAll (pure Dart)
WASM-readyNoNo
KindFlutter widgetsPure Dart
Code generationYesNo
Direct dependencies74 (best)
LicenseAPACHE-2.0BSD-3-CLAUSE
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 multiplexing multiple requests over a single connection
  • Includes `Http2Client` for pooled `package:http` compatibility
  • Provides fine-grained control over frames, streams, and transport connections
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
  • Does not fall back to HTTP/1.1 if a server fails to negotiate HTTP/2
  • Requires handling low-level byte streams and header framing for custom requests
Warnings
  • Quiet but busy
  • Unverified publisher
None
dio_http_cache vs http2: which Flutter package should you use? | pubscout