sql result caching support