DB: Query: transparent and selective caching for expensive queries