I pushed the cache to my PR branch:
https://github.com/discourse/discourse/pull/10175
While debugging further, I noticed that we also have some N+1 in there. Thumbnails and Solved are triggering a N+1 for the topic lists. Any ideas for it @david @tgxworld ?