dio_cache_ttl 0.3.2 copy "dio_cache_ttl: ^0.3.2" to clipboard
dio_cache_ttl: ^0.3.2 copied to clipboard

A Dio-based caching solution with Time-to-Live (TTL) support, enabling efficient storage and retrieval of HTTP responses using the file system. Ideal for optimizing network performance and reducing re [...]

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add dio_cache_ttl

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  dio_cache_ttl: ^0.3.2

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dio_cache_ttl/dio_cache_ttl.dart';
1
likes
150
points
29
downloads

Publisher

verified publisherflagodna.com

Weekly Downloads

A Dio-based caching solution with Time-to-Live (TTL) support, enabling efficient storage and retrieval of HTTP responses using the file system. Ideal for optimizing network performance and reducing redundant requests.

Repository (GitHub)
View/report issues

Topics

#cache #ttl #dio #file

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

dio, flutter, path_provider

More

Packages that depend on dio_cache_ttl