Cache Debug
{#if stats !== undefined}
DL Speed:
{#if downloadSpeed > 0}
{formatBytes(downloadSpeed)}/s
{:else}
N/A
{/if}
Memory Cache
Entries: {stats.entries} ({stats.fullCount} full, {stats.thumbCount} thumb)
Size: {formatBytes(stats.totalBytes)} / {formatBytes(stats.maxBytes)}
90} class:text-warning={budgetPct > 70 && budgetPct <= 90}>{budgetPct.toFixed(1)}% of budget
IndexedDB
{#if stats.idbError !== undefined}
Error: {stats.idbError}
{:else}
Entries: {stats.idbEntries}
Size: {formatBytes(stats.idbBytes)} / {formatBytes(stats.maxBytes)}
90} class:text-warning={idbBudgetPct > 70 && idbBudgetPct <= 90}>{idbBudgetPct.toFixed(1)}% of budget
{#if stats.idbWriteErrorCount > 0}
{stats.idbWriteErrorCount} write errors
{#if stats.idbLastWriteError !== undefined}
{stats.idbLastWriteError}
{/if}
{/if}
{#if stats.idbEntries === stats.entries}
In sync with memory
{:else if stats.idbEntries < stats.entries}
IDB behind ({stats.entries - stats.idbEntries} pending)
{:else}
IDB has {stats.idbEntries - stats.entries} extra (pre-loaded)
{/if}
{/if}
{:else}
Loading…
{/if}