-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ReferenceError: fetch is not defined #7
Comments
建议的做法是将文章数据保存于数据库中,然后在 API 路由透过 Prisma 去数据库查询并返回。 |
拿掉执行就没问题了 |
Redis 缓存这部分不会,网上没找到相关的解释 |
Redis 缓存是作为一个提速的效果,避免每次请求 API 路由都要从 MongoDB 查询数据,造成网页访问速度下降 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: