2.2 IdGenerator rebuilding and pagecache config

Please review, @nawroth
huh, yeah... I'll fix