Sync output with cache