Commit graph

8 commits

Author SHA1 Message Date
c5ac450f21 feat: dynamic page regeneration (#24)
the asset system is reworked to support "dynamic" entries, where each
entry is a separate file on disk containing the latest generation's
headers+raw+gzip+zstd. when calling view.regenerate, it will look for
pages that had "export const regenerate" during generation, and render
those pages using the view system, but then store the results as assets
instead of sending as a response.

pages configured as regenerable are also bundled as views, using the
non-aliasing key "page:${page.id}". this cannot alias because file
paths may not contain a colon.
2025-08-11 22:43:27 -07:00
d9bf3c4161 setup source of truth server 2025-08-02 20:56:36 -04:00
756dbc7805 finish scan3 2025-08-02 20:56:36 -04:00
87253a4a27 stuff for file view 2025-08-02 20:56:36 -04:00
a41569983f incremental sitegen dev server! 2025-06-13 00:13:22 -07:00
c8b5e91251 almost implement views 2025-06-10 01:13:59 -07:00
399ccec226 incremental generator 2025-06-09 00:12:41 -07:00
92ddecc37e more organize 2025-06-08 17:31:03 -07:00
Renamed from framework/fs.ts (Browse further)