feat(frontend): convert to live real-time dynamic runtime fetching with force-dynamic and cache no-store

- Set cache: 'no-store' in lib/api.ts to trigger real-time REST API requests on every page load
- Add export const dynamic = 'force-dynamic' across all 6 app pages (/home, /members, /publications, /lectures, /standardization)
- Update REQUIREMENTS.md and E2E test runner to validate live server routes and dynamic runtime fetching
- Pass all 12 quality gates cleanly
This commit is contained in:
2026-08-24 19:25:26 +09:00
parent 9cb6258d3d
commit 5041ab1ea8
10 changed files with 260 additions and 121 deletions
@@ -24,12 +24,7 @@ export function generateMetadata({ params }: PageProps): Metadata {
};
}
// SSG static pre-rendering (● SSG) for Next.js 14
export function generateStaticParams() {
return PUB_CATEGORIES.map((cat) => ({
category: cat.slug,
}));
}
export const dynamic = "force-dynamic";
export default async function PublicationCategoryPage({ params }: PageProps) {
const { category } = params;
@@ -8,6 +8,8 @@ export const metadata: Metadata = {
description: "AI Agent Networking Lab (ANL) research publications and patents overview",
};
export const dynamic = "force-dynamic";
export default async function PublicationsIndexPage() {
const publications = (await getPublications()) ?? staticPubs;
const patents = (await getPatents()) ?? staticPatents;