← backCache-Aside Pattern1 / 10

context

Which path does the data take?

A searcher just opened an Airbnb listing for a cabin in Vermont, and the page needs the nightly price and availability calendar in under 0 milliseconds. Two engineering teams are debating how to serve that data: one would query the database on every single page load; the other says there is a smarter path.