feat(devops): separate public page server timing diagnostics
This commit is contained in:
1 parent
d5091d1a73
commit
baeb54aeb5
15 files changed
+315
-29
No files matched your search
@@ -5,11 +5,12 @@ import { ContentCard, EmptyState } from "@/components/public/ui";
|
||||
import { excerpt } from "@/lib/format";
|
||||
import { formatDate } from "@/lib/format-date";
|
||||
import { logger } from "@/lib/logger";
|
||||
import { withPublicPagePerformance } from "@/lib/public-page-performance";
|
||||
import { loadNewsArchive } from "@/lib/services/news-archive";
|
||||
|
||||
export const metadata = { title: "News" };
|
||||
|
||||
export default async function NewsPage({
|
||||
async function NewsPage({
|
||||
searchParams,
|
||||
}: {
|
||||
searchParams: Promise<{ q?: string; page?: string; order?: string }>;
|
||||
@@ -188,3 +189,5 @@ export default async function NewsPage({
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
||||
export default withPublicPagePerformance("/news", NewsPage);
|
||||
Reference in new issue
Block a user