Skip to content

Commit

Permalink
rename article
Browse files Browse the repository at this point in the history
Signed-off-by: Vu Van Dung <me@joulev.dev>
  • Loading branch information
joulev committed May 6, 2024
1 parent 2722c73 commit 67fda5d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions next.config.mjs
Expand Up @@ -34,6 +34,11 @@ const nextConfig = {
],
redirects: async () => [
{ source: "/sponsor", destination: "https://github.com/sponsors/joulev", permanent: false },
{
source: "/blogs/lets-talk-nextjs-router-cache",
destination: "/blogs/yes-nextjs-router-cache-is-actually-good",
permanent: true,
},
],
};

Expand Down
@@ -1,6 +1,6 @@
import { makeMetadata } from "~/lib/blogs/utils";

export const metadata = makeMetadata("lets-talk-nextjs-router-cache");
export const metadata = makeMetadata("yes-nextjs-router-cache-is-actually-good");

## TL;DR

Expand Down
4 changes: 2 additions & 2 deletions src/app/(public)/blogs/meta.ts
Expand Up @@ -27,8 +27,8 @@ export const meta: { slug: string; title: string; description: string; postedDat
postedDate: "2024-05-01",
},
{
slug: "lets-talk-nextjs-router-cache",
title: "Let's Talk about the Next.js Router Cache",
slug: "yes-nextjs-router-cache-is-actually-good",
title: "Yes, the Next.js Router Cache is Actually Good",
description:
"The Next.js Router Cache is controversial to say the least. But I think Vercel and the Next.js team have very good reasons to implement it, and the new `staleTimes` option to configure it should be considered to only be an escape hatch at best. This is why.",
postedDate: "2024-05-06",
Expand Down

0 comments on commit 67fda5d

Please sign in to comment.