Closed GoogleCodeExporter closed 9 years ago
It is most likely due to the cache key. The cache key you are using to cache
the list holds all the widgets of a certain type. You need to remove the cache
completely because search criteria is dynamic.
Alternatively you can just read the entire list of widget from cache and then
run through the widget list, apply the search criteria and return the matched
set. Hitting database on every search won't be a good choice. Since the widget
list is small, keep all in memory and match from in-memory list and return the
matched subset.
Original comment by omaralzabir@gmail.com
on 22 Sep 2012 at 10:14
Original issue reported on code.google.com by
DevFor...@gmail.com
on 22 Sep 2012 at 2:20Attachments: