3 Commits
Author SHA1 Message Date
digital-garbageandClaude Sonnet 5.5 a033cda36c Reload caching: ETag/304 and content-hash immutable URLs for modules, CSS (incl. @import) and page tags; /api/modules answers 304 and is gzipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-06 12:40:45 +02:00
digital-garbage dd70d23e57 core: cache fonts, keep everything else uncached
A font filename carries family, weight range and subset, so its bytes never
change -- re-fetching 133 KB on every reload to stay honest about a file that
cannot go stale is the wrong trade. Code stays no-store: the editor is edited
while it is running.

*.woff2 declared binary so autocrlf can never rewrite one.
2026-08-28 14:52:22 +03:00
digital-garbage d5effb0378 core: serve the app, with the module allowlist as the wall
Static serving routes through a pure resolve(), so the extension allowlist and
the traversal guard are tested without aiohttp. modules/ serves .js only: a
module cannot ship a stylesheet even if one is written.
2026-08-28 14:18:55 +03:00