Added caching to search plugin