Baseflow / Baseflow/flutter_cache_manager

Use a custom key for caching

Đang mở
#495 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Dart
Star
809
Fork
510
Merge trung bình
6 phút
Pull request đã merge (30 ngày)
1

Mô tả

How can I use a custom key for caching instead of the url?
When I use the CachedNetworkImage widget, I want to use the customized cache manager. My thought was to extend CacheManager and override its getSingleFile and other methods. But it doesn't seem to work.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start with the CachedNetworkImage widget and the custom CacheManager entry point mentioned in the issue, then trace getSingleFile and the other overridden methods. Determine whether the current API supports a custom cache key instead of the URL; document the supported usage or clearly define the required change, with completion shown by a working custom-key example.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
dart, flutter
Lĩnh vực
mobile-dev
Loại issue
Tài liệu
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.