Invalidating cache before refresh, automatic refresh in pipeline list. Closes #632.