views:

42

answers:

2

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 wich will not change very often, or will i not gain much of a performance benefit?

+1  A: 

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

matt b
How you suggest to measure it?
Mendy
1. Implement both options. 2. Implement a load testing script to generate requests and 3. measure how many requests per second, server load, etc
matt b
+1  A: 

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.

Mendy