Manual:$wgShowIPinHeader

Details
Show personal tool links (links to user page and user talk page) for anonymous visitors ("IPs"). Disabling this allows for improved caching, because all anonymous visitors can then be served the exact same version of each page.