All files / src/app/admin/monitoring/cache page.tsx

0% Statements 0/29
100% Branches 0/0
0% Functions 0/1
0% Lines 0/29

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30                                                           
'use client';

import { Suspense } from 'react';
import { CacheDashboard } from '@/components/admin/monitoring/CacheDashboard';
import LoadingSpinner from '@/components/ui/LoadingSpinner';

export default function CacheMonitoringPage() {
  return (
    <div className="p-6">
      <div className="mb-6">
        <h1 className="text-2xl font-bold text-gray-900 dark:text-white">
          Cache Dashboard
        </h1>
        <p className="text-gray-600 dark:text-gray-400 mt-1">
          Monitor and manage application cache performance
        </p>
      </div>
      <Suspense
        fallback={
          <div className="flex items-center justify-center p-12">
            <LoadingSpinner size="lg" />
          </div>
        }
      >
        <CacheDashboard autoRefreshInterval={30} />
      </Suspense>
    </div>
  );
}