import { Suspense } from 'react' import { cacheLife, cacheTag, revalidatePath, updateTag } from 'next/cache' import { redirect } from 'next/navigation' import { connection } from 'next/server' import React from 'react' async function getData() { 'use cache' cacheLife({ revalidate: 6 }) cacheTag('modern') return new Date().toISOString() } async function AsyncComp() { let data = await getData() return

{data}

} export default async function Home() { await connection() return (
Loading...

}>
{' '} {' '}
) }