added action caching to index action