Download Latest Version package_shelf v1.4.3 source code.zip (252.8 kB) Google Add to Preferred Sources
Home / shelf_static-v1.2.0
Name Modified Size InfoDownloads / Week
Parent folder
package_shelf_static v1.2.0 source code.tar.gz 2026-10-16 157.8 kB
package_shelf_static v1.2.0 source code.zip 2026-10-16 252.8 kB
README.md 2026-10-16 965 Bytes
Totals: 3 Items   411.6 kB 0
  • Fix unhandled FormatException / HTTP 500 error when parsing oversized integer values in HTTP Range headers, and ignore suffix ranges that select zero bytes.
  • Truncate microseconds in addition to milliseconds when comparing file modification times against If-Modified-Since headers.
  • Replace static, blocking dart:io operations (such as statSync() and File.existsSync()) with their asynchronous equivalents. This prevents createStaticHandler from blocking the Dart isolate event loop, dramatically improving performance for highly concurrent web servers.
  • Add generateETag and maxAge parameters to createStaticHandler and createFileHandler to support ETag and Cache-Control headers. Default ETags are generated based on file size and modified time.
  • Redesign the listDirectory HTML output to use a modern, responsive table layout with inline SVG icons, file sizes, and last modified dates.
  • Require Dart ^3.9.0.
Source: README.md, updated 2026-10-16