Add automatic cache refresh