Confessions Of The Professions Is All About Speed Through HTML
We decided to do some research to see what other tests were being done on HTML and PHP websites. The results were amazing and confirmed what we already knew. HTML is faster on every level. Check out the load time of static HTML and dynamic PHP pages. When pitted against each other with the same amount of requests to scripts and other websites, HTML was over 200 times faster than PHP. Though no direct research or tests have been done yet on it, as far as we know, it does seem that HHVM is almost as fast as HTML in a speed comparison, though HTML may still have a slight advantage.
If a large amount of visitors are visiting an un-cached dynamic PHP page, the page must send requests to the database each time someone connects. With a cache system in place, the page must still send some requests to the database, but far fewer requests, resulting in some time delay for the page to load. When a large number of visitors visit a static HTML page with no requests to the database, the page will load instantly for all visitors. The response time for both PHP and HTML still depend largely on the webserver itself and how quickly it is able to connect, receive, and send back the request to the visitor computer.
While we cannot turn the entire website into HTML, we have set up a system that creates a static HTML cache page each time a visitor lands on a page for up to 24 hours. For those who wish to visit the HTML pages, they are located on the Menu under Confessions » Archive » HTML Cache. Not all pages are yet listed but will become available each time a visitor lands on the page, or the page is updated. The HTML page is dynamically generated from a copy of the PHP page, but does not look exactly like the original page.
Visitors who are not so concerned with visuals, but wish to experience speed may benefit more from this feature than those who may not care much about speed and are concerned with the visual experience of reading articles. We hope this feature improves your user experience. Please enjoy our new HTML Cache system.
If you experience any issues with an HTML page, please contact us and let us know!
Own Your Copy Today!