Skip to content

More efficient file update check

Choose a tag to compare

@ALERTua ALERTua released this 21 Feb 18:23
· 80 commits to main since this release
d06c2f5

What's New

HTTP HEAD Request Caching - The update checker now uses HTTP HEAD requests to detect if files have changed, avoiding unnecessary downloads and saving bandwidth.

Features

  • Smart Update Detection: Uses HTTP headers (ETag, Last-Modified, Content-Length) to determine if files need updating
  • Metadata Caching: Stores server response headers in sidecar .meta.json files for quick comparison on subsequent runs
  • Faster Updates: HEAD requests are much quicker than full file downloads
  • Backward Compatible: Falls back to traditional MD5 comparison when HEAD requests fail