import "server-only"; import { cacheLife, cacheTag } from "next/cache"; import { getActiveStygianSchedule } from "@/lib/stygian/repository"; import { STYGIAN_CACHE_TAG } from "@/lib/cache/tags"; export { STYGIAN_CACHE_TAG }; export async function getCachedActiveStygianSchedule() { "use cache: remote"; cacheLife({ stale: 30, revalidate: 60, expire: 60 * 60 }); cacheTag(STYGIAN_CACHE_TAG); return getActiveStygianSchedule(); }