Added result caching feature