1# aldebaran-assets 2 3The files a site embeds in its binary and serves from itself, each named by 4its content so a long cache never serves an old copy. It was written three 5times (jev-ui, aifleet's directory server, lmjtfy's routes); this is the one. 6 7| Item | What it is | 8|---|---| 9| `Asset` | A path, a content type and bytes. `href()` is `/ui.css?v=1a2b3c4d`; `cache_control(query)` is for good when `?v=` names these bytes, a day otherwise. | 10| `Bundle::new(&[…])` | A site's whole list. Refuses a path that is not absolute, has a query, or appears twice, and in a `const` it refuses when the site is compiled. | 11| `Bundle::find(path)` | The route a Worker or server mounts as its fallback. | 12| `hash`, `versioned_href` | The content name, for a file a site makes at run time. | 13 14No runtime and no I/O: an adapter turns an `Asset` into a response.