2.2 IdGenerator rebuilding and pagecache config

Please review, @nawroth
Unrelated: This is supposed to be 7 days, rather than just "yep"