Topic by Carlton Davison
Content
I have a single database query (ROQL::query .. SELECT) which returns a large dataset (~1000 rows). The results will only change every few days. Should I cache the query and if so what is the best practice method?
I have seen use of checkCache($cacheKey) and setCache($cacheKey, $queryResult) in models, etc but cannot find any documentation about their proper use. Can someone please direct me to the right documentation.
(I have also seen/used PersistentReadThroughCache for caching external files but assume this is not appropriate for database queries.)
..Carl.