2ce44e36

By: Michael Lynch <git@mtlynch.io>

Keep static cache versions stable within each server lifetime

Inject the existing application clock and capture the asset version once
per server. Test cache revalidation and byte ranges through registered
routes rather than an exported handler factory.

Fixed-clock tests cover advancing time, unchanged ETags on an existing
server, and revalidation after a later startup. The tests failed before
adding the required clock parameter.

Total

3m28s

Created Started Finished

Time to Start Worker time Duration Time to finish Idle
Config 0s 7s 7s 7s 0s
Eval 8s 1m31s 1m31s 1m39s 0s
Build 1m34s 1m49s 1m55s 3m29s 0s
Suite 0s 3m28s 3m28s 3m29s 0s

Timeline

Config Eval Build
0s20s40s1m1m20s1m40s2m2m20s2m40s3m3m20s