Using conformal field theory calculations of the energy spectrum, within the XXZ model we investigate effects of the flux insertion and the Umklapp term. We discuss two approaches to the evaluation of the Drude weight, the first corresponding to the linear response theory and the second corresponding to the twisted boson theory with the Umklapp term. Divergences obtained in the context of the former contradict the Bethe ansatz results, with the two approaches coinciding for the free fermion point only. The origin of this discrepancy is in the different order in which the Umklapp term and the flux insertion are treated, where the marginal perturbation should be considered before the irrelevant perturbation. We calculate the scaling of the conductivity with system size and temperature in the long-wave limit.