http_client_cache 1.0.4 copy "http_client_cache: ^1.0.4" to clipboard
http_client_cache: ^1.0.4 copied to clipboard

Dart package that seamlessly adds HTTP traffic caching to improve performance and reduce network load in Dart and Flutter applications.

140/ 160
pub points
783
downloads

We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

33 out of 36 API elements (91.7 %) have documentation comments.

Some symbols that are missing documentation: http_client_cache, http_client_cache.HttpCache.HttpCache.new, http_client_cache.HttpCache.getCacheSize.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:http_client_cache/http_client_cache.dart that imports:
  • package:http_client_cache/src/http_cache.dart that imports:
  • package:http_client_cache/src/journal/journal_extensions.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 6 issues. Showing the first 2:

/tmp/pana_AWSMDE/lib/src/base_response_extensions.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_AWSMDE/lib/src/cache_status.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
async ^2.11.0 2.13.0 2.13.0
collection ^1.19.0 1.19.1 1.19.1
file ^7.0.1 7.0.1 7.0.1
fixnum ^1.1.1 1.1.1 1.1.1
http ^1.2.2 1.6.0 1.6.0
http_client_interceptor ^1.0.1 1.0.1 1.0.1
http_client_logger ^1.0.0 1.1.4 1.1.4
logging ^1.3.0 1.3.0 1.3.0
meta ^1.15.0 1.17.0 1.17.0
protobuf ^4.1.0 4.2.0 6.0.0
uuid ^4.5.1 4.5.2 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
crypto - 3.0.7 3.0.7
http_parser - 4.1.2 4.1.2
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.1 1.1.1

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^4.1.0` on protobuf does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions protobuf to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.3, Dart 3.10.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
140
points
783
downloads

Publisher

verified publisherdasralph.de

Weekly Downloads

Dart package that seamlessly adds HTTP traffic caching to improve performance and reduce network load in Dart and Flutter applications.

Repository (GitHub)
View/report issues

Topics

#http #network #cache

Documentation

API reference

License

MIT (license)

Dependencies

async, collection, file, fixnum, http, http_client_interceptor, http_client_logger, logging, meta, protobuf, uuid

More

Packages that depend on http_client_cache