FLUTTER ECOSYSTEM

http_cache_hive_store

A DB cache store agnostic HTTP client implementation with hive_ce.

Latest version
5.1.1
30-day downloads
32.5K
Likes
6
Pub points
160

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

Overview

A cache store-agnostic HTTP client implementation that uses Hive for persistent storage, enabling efficient caching of HTTP responses. It integrates with the http_cache package to provide transparent request/response caching without requiring changes to existing HTTP logic. Ideal for apps needing offline support or reduced network usage, it supports multiple platforms including mobile, web, and desktop. The solution is lightweight and designed for seamless integration into Flutter projects.

Use cases
  • Offline data access
  • Reduced API calls
  • Improved app performance
  • Caching API responses
  • Persistent storage for HTTP data
Key features
  • Hive-based persistence
  • Cache-agnostic HTTP client
  • Cross-platform support
  • Automatic response caching
  • Lightweight integration
Suitable for
  • Apps with frequent API usage
  • Projects needing offline functionality
  • Performance-critical applications
  • Flutter apps targeting multiple platforms
  • Developers using Hive for local storage
Considerations
  • Requires Hive setup in project
  • Limited to HTTP caching only
  • Manual cache invalidation needed
  • Not suitable for large binary data
  • Depends on external http_cache package
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add http_cache_hive_store

Categories

Dependencies

Dependency list 2 items
  • hive_ce^2.11.0
  • http_cache_core^1.1.3

Source repository

Related projects