Fredkiss3 / gh-next

A minimal Github clone built on nextjs app router.
https://gh.fredkiss.dev/
MIT License
450 stars 21 forks source link

[♻️ refactor] Investigate Caching of the `<Markdown>` component #107

Closed Fredkiss3 closed 11 months ago

Fredkiss3 commented 11 months ago

What is the reason to do this refactor ?.

We want to cache the <Markdown> component because it can be very resource intensive.

Describe the work that needs to be done

Try different hypothesis, see Additional context below.

Additional context

Some leads :


UPDATE

We will use this approach : https://github.com/fredkiss3/rsc-in-rsc-forked-