TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Learn indexing dammit

7 点作者 tejay将近 12 年前

2 条评论

jmngomes将近 12 年前
Maybe those 5 "conventions" are in no particular order, but I'd argue you should first check your indexes and only then consider "trying cacheing". Also, I'd think it'd be better to create indexes after "rewriting your code to use raw SQL", as indexing is usually (meaning almost always) designed to support queries; hence, you need to have queries first.
mjhea0将近 12 年前
agreed. yes, they are a bit out of order.