web_cache_killer 0.0.3
web_cache_killer: ^0.0.3 copied to clipboard
A Flutter package that solves Flutter web cache problems by automatically renaming JavaScript files with timestamps during build process.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate web_cache_killer
Use it
The package has the following executables:
$ web_cache_killer
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add web_cache_killer
With Flutter:
$ flutter pub add web_cache_killer
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
web_cache_killer: ^0.0.3
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:web_cache_killer/web_cache_killer.dart';