chore(server): invalidate cache when data is deleted

@xiangli-cmu @philips @benbjohnson