Cache middleware
increment topic cache on patch and creation #597