Web: improve changing blocks handling.

This probably makes the savings from noticing no changes slightly more
significant.