Results 1 to 4 of 4
Thread: Cache resultset
Jun 7, 2006, 14:38 #1
Literally only started looking at Rails two days ago so please forgive me is this is flamebait material!
Need to perform a search (using TSearch2 in postgres). The database I'm searching is particularly complex and hugge so searching isn't fastest. In a PHP based front end I would have cached the primary keys of the records found in the initial search. The interface is paginated, only showing 1 record a page with the typical forward and back buttons.
Presumably caching the result from the find() function is still a good approach in rails, but I can't quite work out how.. any suggestions would be a great help!