{"id":32281322,"url":"https://github.com/kyawthet-naing/web-cache-killer","last_synced_at":"2026-05-13T12:41:49.301Z","repository":{"id":307585467,"uuid":"1030024526","full_name":"kyawthet-naing/web-cache-killer","owner":"kyawthet-naing","description":"A Flutter package that solves Flutter web cache problems by automatically renaming JavaScript files with timestamps during build process.","archived":false,"fork":false,"pushed_at":"2025-08-02T05:15:57.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-23T00:56:29.478Z","etag":null,"topics":["flutter","flutter-cache","flutter-web-cache","web-cache-flush"],"latest_commit_sha":null,"homepage":"https://pub.dev/packages/web_cache_killer","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyawthet-naing.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-08-01T01:09:52.000Z","updated_at":"2025-08-01T16:10:21.000Z","dependencies_parsed_at":"2025-08-01T03:13:20.079Z","dependency_job_id":"8216a6df-12fe-492f-866c-ac5edf337d17","html_url":"https://github.com/kyawthet-naing/web-cache-killer","commit_stats":null,"previous_names":["kyawthet-naing/web-cache-killer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyawthet-naing/web-cache-killer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyawthet-naing%2Fweb-cache-killer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyawthet-naing%2Fweb-cache-killer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyawthet-naing%2Fweb-cache-killer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyawthet-naing%2Fweb-cache-killer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyawthet-naing","download_url":"https://codeload.github.com/kyawthet-naing/web-cache-killer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyawthet-naing%2Fweb-cache-killer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280540647,"owners_count":26347724,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["flutter","flutter-cache","flutter-web-cache","web-cache-flush"],"created_at":"2025-10-23T00:56:30.987Z","updated_at":"2025-10-23T00:56:31.824Z","avatar_url":"https://github.com/kyawthet-naing.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Cache Killer\n\nFixes Flutter web cache problems by automatically renaming JavaScript files with timestamps.\n\n## Why You Need This\n\nWhen you deploy a Flutter web app, users often see the old version because browsers cache JavaScript files. This tool fixes that by renaming your JS files with timestamps so users always get the latest version.\n\n## Installation\n\n```bash\ndart pub global activate web_cache_killer\n```\n\n## Quick Start\n\n```bash\n# Go to your Flutter project folder\ncd my_flutter_project\n\n# Build and create web.zip\nweb_cache_killer\n\n# Build with custom name (creates beta.zip)\nweb_cache_killer --name beta\n\n# Build and upload automatically\nweb_cache_killer --auto-upload\n```\n\n## What It Does\n\n**Before:**\n```\nflutter.js\nmain.dart.js\n```\n\n**After:**\n```\nflutter_20250801_143022_456.js\nmain_20250801_143022_456.dart.js\n```\n\nAll HTML files are automatically updated to use the new names.\n\n## Commands\n\n| Command | What It Does |\n|---------|-------------|\n| `web_cache_killer` | Build and create `web.zip` |\n| `web_cache_killer --name release` | Build and create `release.zip` |\n| `web_cache_killer --auto-upload` | Build and upload to tmpfiles.org |\n| `web_cache_killer --no-zip` | Build only (no zip file) |\n| `web_cache_killer --verbose` | Show detailed output |\n| `web_cache_killer --no-clean` | Skip flutter clean (faster) |\n\n## Output Example\n\n```\n🚀 Web Cache Killer\n==================================\nChecking requirements...\n✅ Requirements satisfied\n🧹 Cleaning...\n✅ Cleaned\n📦 Getting dependencies...\n✅ Dependencies ready\n🔧 Building web...\n✅ Build completed\n🕒 Applying cache busting...\n✅ Cache busting applied (3 files)\n📦 Creating deployment package...\n✅ Successfully created web.zip (Size: 7.9M)\n\n==================================\n🎉 Build Completed!\n✅ Created: web.zip\n📁 Build: /path/to/project/build/web\n```\n\n## File Structure\n\n**Default build:**\n```\nbuild/\n├── web/           # Your app files\n└── web.zip        # Ready to deploy\n```\n\n**Custom name build:**\n```\nbuild/\n├── release/         # Your app files\n└── release.zip      # Ready to deploy\n```\n\n## Upload Feature\n\nUpload your zip automatically to get a direct download link:\n\n```bash\nweb_cache_killer --auto-upload\n```\n\nYou'll get a link like: `http://tmpfiles.org/dl/123456/web.zip`\n\n## Common Issues\n\n**❌ \"pubspec.yaml not found\"**\n- Make sure you're in your Flutter project folder\n\n**❌ \"Flutter not found\"**\n- Install Flutter: https://flutter.dev/docs/get-started/install\n- Make sure `flutter` command works in your terminal\n\n**❌ Upload fails**\n- Check your internet connection\n- Your zip file is still saved locally in the `build/` folder\n\n## Requirements\n\n- Flutter SDK installed\n- Dart 2.12+ \n- Run from Flutter project root (where `pubspec.yaml` is)\n\n## Features\n\n✅ **Cross-platform** - Windows, macOS, Linux  \n✅ **Zero setup** - Just install and run  \n✅ **Cache busting** - Automatic timestamp renaming  \n✅ **Custom names** - Name your builds  \n✅ **Auto upload** - Get instant download links  \n✅ **Fast builds** - Skip clean with `--no-clean`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyawthet-naing%2Fweb-cache-killer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyawthet-naing%2Fweb-cache-killer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyawthet-naing%2Fweb-cache-killer/lists"}