---
title: "Cache tiers"
description: "Semi-circle multi-ring gauge with a stat grid and a share legend"
plan: Pro
docs: https://ui.edbn.me/docs/charts/cache-tiers-echarts-radial-chart
---

# Cache tiers

Semi-circle multi-ring gauge with a stat grid and a share legend

A cache report on the radial chart’s semicircle variant: four rings show each tier’s share of 1,000 requests, with L1 Memory outermost and Origin Fetch innermost. A media query thins the rings and their rounded ends below 640px.

Four counters sit beside the gauge from sm and under it on phones. The legend gives each tier as hits out of 1,000 with a percentage, in two columns on phones and four from sm.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/cache-tiers-echarts-radial-chart
```

## Dependencies
- npm: echarts@6.1.0, motion@^12.23.25
- edbn: echarts-radial-chart

## Usage

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Files
- components/charts/cache-tiers-echarts-radial-chart.tsx (123 lines)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
