Following my #StaticSite post, I decided to rewrite my #WordPress site in HTML/CSS and compare the performance. Here is the result:

kevq.uk/rewriting-my-wordpress

@kev PHP needs to execute the code, output the code and then the webserver can send the data. HTML is static and the webserver can instantly send the data. There's no way that a dynamic website is faster or equally fast as a static website.

@hund well, that seems to be the case on my server. 🤣

Joking aside, out of the box you’re absolutely right, but with a few optimisations, they can be comparable. I’m not saying WP is faster, I never have, but the performance can be comparable.

@kev @hund You can cache wordpress, which in essence, makes it a static site.

Sign in to participate in the conversation
LinuxRocks.Online

Linux Geeks doing what Linux Geeks do..