Use cache instead of variable.