Improvements v0.0.6 #5
Loading…
Reference in a new issue
No description provided.
Delete branch "improvements-v0.0.6"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Improvements v0.0.6
Performance and UX hardening for the news digest.
Highlights
CachedStaticFilessends vendor JS no-cache and project assets with short max-age + revalidation.AbortController-backed fetch timeout, per-requestwaitUntil(no global mutable state)./partials/{digest,stream,search}serve the rest withX-TILens-*pagination headers.[data-load-more-root]observed viaIntersectionObserver; loading spinner during fetch, visible Retry on failure.Bug fixes after self-review
Tests
tests/test_chunking.py,tests/test_pwa.py,tests/test_static_cache.py,tests/test_shell.pycover chunking (cap, disjoint IDs, list-container order, source checks), SW (precache split, per-requestwaitUntil, abort timeout), static cache headers, and math/lazy-render wiring.Behavior notes
MAX_LIST_ITEMS = 100hard cap per filter state; UI exposesLoad more/Retryonly when more items are available.style-src-elem 'unsafe-inline'added to CSP to allow MathJax inline styles./partials/*is internal (include_in_schema=False).