zsharp
zsharp

Reputation: 13756

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

I have a 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?

Upvotes: 0

Views: 121

Answers (2)

Fitzchak Yitzchaki
Fitzchak Yitzchaki

Reputation: 9163

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.

Upvotes: 1

matt b
matt b

Reputation: 139971

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

Upvotes: 1

Related Questions