Rails Rails 写的查询语句是否有缓冲

ane · June 06, 2014 · Last by liwei78 replied at June 06, 2014 · 1303 hits
EventMongo.where(event_category_id: category.id).desc("_id").limit(events_count)

这样的查询,如果 events_count 赋不同的值,是否会有缓冲?我觉得有

没有,相同语句在一个 action 里会出现缓存,log 里有显示 CACHE......

You need to Sign in before reply, if you don't have an account, please Sign up first.