FLUTTER ECOSYSTEM

flutter_cache_manager_firebase

CacheManager implementation for firebase_storage. Uses the gs:// as key and translates to https://

Latest version
2.1.4
30-day downloads
458
Likes
47
Pub points
140

Package Overview

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

Overview

A Flutter package that extends Flutter Cache Manager to work with Firebase Storage, using gs:// URLs as cache keys and automatically converting them to HTTPS URLs for efficient caching. It enables offline access to Firebase-hosted files by storing them locally, improving app performance and reducing bandwidth usage. Designed for seamless integration with Firebase Storage, it supports all major platforms including Android, iOS, Web, macOS, and Windows.

Use cases
  • Caching images from Firebase Storage
  • Enabling offline access to cloud-stored assets
  • Improving load times for frequently accessed files
  • Reducing data usage in mobile apps
  • Supporting hybrid apps with cross-platform file caching
Key features
  • Automatic URL translation from gs:// to https://
  • Integration with Flutter Cache Manager
  • Platform-agnostic support across all Flutter platforms
  • Efficient local storage of Firebase assets
  • Built-in cache expiration and cleanup
Suitable for
  • Apps using Firebase Storage for media delivery
  • Developers needing offline-first functionality
  • Projects requiring optimized asset loading
  • Cross-platform Flutter applications
  • Teams leveraging Flutter Cache Manager already
Considerations
  • Requires proper Firebase Storage permissions
  • Cache size management needed for large datasets
  • Not suitable for non-Firebase storage sources
  • May require additional configuration for custom cache policies
  • Dependent on base Flutter Cache Manager for core functionality
Supported platformsAndroidiOSWebmacOSWindows

Install package

flutter pub add flutter_cache_manager_firebase

Categories

Dependencies

Dependency list 5 items

Source repository

Related projects

No data available yet.