Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedio_cache_interceptor

Dio HTTP cache interceptor with multiple stores respecting HTTP directives.

pub.devRemove
fresh_dio

A dio interceptor for automatic token refresh and authentication management.

pub.devRemove
ScoresHealth87 (best)82
Maintenance71 (best)65
Quality100100
Popularity91 (best)77
Community8080
Compatibility100100
UsageDownloads (30 days)253k (best)23k
Likes443 (best)169
Pub points160 / 160160 / 160
GitHub stars156429 (best)
MaintenanceLatest release4.0.7, 5 months ago (best)0.6.0, 9 months ago
Major versions in 12 months00
Contributors1519 (best)
Publishercow-level.ovhfelangel.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies22
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Supports multiple storage backends including memory, file system, Hive, Isar, and Drift
  • Respected standard HTTP cache directives and headers
  • Allows offline fallback and error handling via cache
  • Automatic token refresh and proactive refreshing before requests
  • Single-flight refresh prevents duplicate concurrent refresh calls
  • Pluggable token storage and custom token formats supported
Weaknesses
  • Requires additional packages to be installed separately for certain store implementations
  • Tied specifically to the Dio HTTP client
  • Tied specifically to package:dio
WarningsNoneNone
dio_cache_interceptor vs fresh_dio: which Flutter package should you use? | pubscout