Live database

This page reads straight from Cloudflare D1 through the Worker API. Everything below is real query output, not mock-up content.

checking…
Connection
…
database
Products
–
– in stock · – low
Categories / brands
– / –
from the category tree
Last sync
–
cache lives in IndexedDB

Products from D1

ProductBrandCategory PriceStockStatus
Loading from the database…
– Prices stored as integer cents in D1

Category tree (parent → children)

–
Loading…

Raw API response

Open endpoint

The exact payload the page cached:

{ waiting… }

How this works

  • 1 · Cache-first readIndexedDB answers instantly, even offline
  • 2 · Background revalidateWorker queries D1 and refreshes the copy
  • 3 · Honest fallbackA pill tells you when data is saved, not live