Put wikibase cache settings together

Change-Id: I13524b94a475484148964ea95e751ce7797b1063