Caching empty search

#5716 
WIP
- [ ] Invalidate cached blocks when solr index.