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

@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

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.