You are not logged in.
Pages: 1
Hi, i'm working on a project where I have a drop down of a certain category items. The items are populated from a database table. There are more than 1000 items and it will increase in the future. I'm thinking of using cache, because the category is not being updated very often. This drop down form is used in an editor page, where one of the item will be selected. My question is how do you cache this drop down form if one of the item need to be selected? My current solution is to create cache for each selected item.
So there will be more than 1000 caches for this drop down.
For example:
Cache 1: populate drop down with item-1 selected
Cache 2: populate drop down with item-2 selected
and so on...
My question: Is there a better way to do this?
Offline
Hey Tamara,
sorry for the late response, but let me take a crack at it. An in-memory cache would be fine for something of this sort (like memcache) since you will naturally want to have these lists close at hand. I would suggest against select boxes for such large menus and opt for something like an autocomplete control.
Offline
that's a good idea to use autocomplete control.. thanks
Offline
Pages: 1