Changelog

Release history for PhoenixPrerender

liveview

Prerendered as static HTML, then hydrated via WebSocket. Filter buttons activate after connection.

Static HTML
v0.4.0 feature
2024-04-01

Strict paths mode - only serve pages listed in manifest.json

v0.3.0 feature
2024-03-01

Distributed ISR via :global.trans/2 and Phoenix PubSub cache invalidation

v0.2.1 fix
2024-02-15

Fixed atomic write race condition on NFS mounts

v0.2.0 feature
2024-02-01

Incremental static regeneration with stale-while-revalidate

v0.1.1 fix
2024-01-15

Handle LiveView routes with nested layouts correctly

v0.1.0 feature
2024-01-01

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.