Merge "Remove log if cache is disabled." into main