I have a React Server Component that retrieves its data at build time and does not reload it while the site is running. I expected it to fetch the data once when the server component is first rendered.
Is there a way to force this server component to reload when the page is requested with a GET, without converting it to a client-side component?
import prisma from "@/lib/prisma";
export default async function AdminNewsSourceList() {
const dataNewsSource = await prisma.newsSource.findMany();
return (
<div className="container">
<h1 className="my-3">News Sources</h1>
<table className="table table-striped">
...