0.12dev: Fixed the first cache update trigger, where `generation=0`.
0.12dev: Fixed the first cache update trigger, where `generation=0`.

Closes #8242.

pkdevbox/trac,pkdevbox/trac,pkdevbox/trac,pkdevbox/trac