Given a morphism between normal varieties $f: X \to Y$, we can push forward a Cartier divisor $D$ to get a cycle $f_* D$. On the other hand, we can form the line bundle $\mathscr{L}(D)$ and push that forward to get $f_* \mathscr{L}(D)$.
Under what conditions can we get an identity of the form $f_* \mathscr{L}(D) = \mathscr{L}(f_* D)$?
Of course, we would need $f_* D$ to not be all of $Y$. Also, if $X$ is $n$ copies of $Y$ projecting down, then $f_* \mathscr{L}(D)$ is not a line bundle. So such an identity cannot hold in general.
But is there a useful set of circumstances where it does hold? For instance, if $f$ a birational contraction.