Hello webmasters, I am up with another question today. I was curious to know why many good WordPress blogs turned them into static (.html) site? I would love to hear some good reasons for this transformation or is it some tricky optimization? Thanks
This is usually from a cache plugin. The plugin will take a snapshot of the php pages, convert them to html and then store them within the account, and then serve those html pages to visitors. The plugin will also refresh those snapshots on a timed interval, or when pages are either created or updated.
What is the main purpose behind doing it? Is it considered more optimized or is it just for fastest page loading?
Both. Optimization makes pages or processes load quicker. A PHP page, depending on the host and the content of the page, could take anywhere between 800ms to 5 minutes to load. An HTML page, maybe 500ms to 60 seconds at most. The process of converting pages is useful, especially for active websites. Every time a PHP website loads a page, it has to process the information of that page (PHP), as well as process MySQL. Html Pages require minimal amount of process , and no MySQL processing.