Minor Changes
-
#1410
aa815aaThanks @ascorbic! - New experimentalcoalesceoption for thed1()adapter, for much faster uncached page loads:emdash({ database: d1({ binding: "DB", session: "auto", coalesce: true }), });
When enabled, read queries that a page issues at the same time are sent to D1 as a single round trip instead of one at a time. A page that runs half a dozen queries — settings, menus, the entry, related posts — pays for one trip to the database instead of six, which can cut uncached render time by more than half. Each query still gets its own results and its own errors, and writes are unaffected. Requires
sessionto be enabled; off by default while experimental.