Render time1,000 ms🐢 Freshly rendered
Cached copy expires in 30 s
Sales Europe · 2026
- Units sold
- 11,062
- Best month
- Nov
- Growth
- +85 %
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
Rendered at 10:26:54 UTC
Some components are expensive: they wait for slow APIs or crunch numbers. If their output is the same for many visitors, render them once and keep the HTML for a while.
<Cached> renders its children to a string with jsxToString, stores the markup under a key and inserts it with html() on later requests. The report below takes about a second to render. Reload the page: the first request renders it, the following ones get the cached copy for 30 seconds. Switch the region to start over.
Rendered at 10:26:54 UTC
<Cached cacheKey={`report:${region}`}>
<Report region={region} />
</Cached>To cache data instead of markup (e.g. an API response used by several components), see the cache helper used by GitHub repos.