invalidate cache when setting a new optigrid