It is a way to lessen the strain on the server's resources (= faster page loading for more visitors the same time).
It does so by serving "pre-computed" static pages to the non logged-in visitors, and thus there is no need for a database query and various calculations for very visitor.