systemphil / symposia

Symposia is a philosophy course platform🏺
https://symposia.sphil.xyz
Apache License 2.0
6 stars 1 forks source link

Add cache for db retrieval #53

Closed Firgrep closed 3 months ago

Firgrep commented 4 months ago

Seems like NextJS Data Cache only caches network requests? We should also cache the course contents.

https://nextjs.org/docs/app/building-your-application/caching

Possible implementations https://github.com/WebDevSimplified/next-js-ecommerce-mvp/blob/main/src/lib/cache.ts