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