Changelog
Release history for PhoenixPrerender
Prerendered as static HTML, then hydrated via WebSocket. Filter buttons activate after connection.
Strict paths mode - only serve pages listed in manifest.json
Distributed ISR via :global.trans/2 and Phoenix PubSub cache invalidation
Fixed atomic write race condition on NFS mounts
Incremental static regeneration with stale-while-revalidate
Handle LiveView routes with nested layouts correctly
Initial release - build-time static generation, plug serving, Mix task
How LiveView Prerendering Works
1. Build time:
The generator dispatches GET /changelog through the endpoint.
LiveView renders the static HTML including
data-phx-session
attributes.
2. First load: The browser receives pre-built HTML instantly. The page is fully readable and SEO-friendly before any JavaScript runs.
3. Hydration: Phoenix LiveView JavaScript connects via WebSocket. The filter buttons above become interactive. The page is now a full LiveView.