add http cache to avoid fetching feeds too often (#1431)

This commit is contained in:
Athou
2024-09-14 13:43:00 +02:00
parent ada9a5039b
commit 8eefb1bcfb
14 changed files with 245 additions and 87 deletions

View File

@@ -1,3 +1,4 @@
import { NumberFormatter } from "@mantine/core"
import type { MetricGauge } from "app/types"
interface MeterProps {
@@ -5,5 +6,5 @@ interface MeterProps {
}
export function Gauge(props: MeterProps) {
return <span>{props.gauge.value}</span>
return <NumberFormatter value={props.gauge.value} thousandSeparator />
}