Manual:$wgLoggedOutMaxAge

Details
Cache TTL for the user agent sent as max-age, for logged out users. Only applies if  is false.