making cache flush command more general vs. hardcoded