Manual:$wgSidebarCacheExpiry

Details
Expiry time for the sidebar cache, in seconds (default: 1 day), has no effect if $wgEnableSidebarCache is off (default).