开发者

Should a 500 item lookup list be data cached on server?

I have a开发者_Go百科 column of 500 names <30 characters, that are accesses via jQuery autocomplete plugin as a drop down list. Should I data cache this list which will not change very often, or will I not gain much of a performance benefit?


Why not measure both approaches and then make a decision based on actual data, rather than guesses?


Cache unless you got trouble.

try to cache both in server side, and in client side.

on the client side since you said that you using jquery, I know there is a auto-complete jquery plugins that can do it for you.

client side is good to only one page, so if you can do also server side.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜