Optimizing code-bude.net for PageSpeed: What I changed and what actually helped

Diagram showing the measurement of load time, layout shift, images, CSS and fontsPageSpeed is not an oracle. Bytes lie much less often than a single score.
I had run code-bude.net long enough to know its little points of friction. A homepage with 22 external CSS files, more than 100 KB of HTML and 1.2 MB PNG title images in listing views was no longer a charming bit of history. Lighthouse estimated 6.25 MB of image savings. The score moved between 27 and 55 depending on the run. That is not a measurement. It is a weather forecast with a very small cloud.
I worked in two rounds. First came images, CSS, critical CSS and fonts. Then I tackled Site Health findings, CLS, accessibility, security headers and icon fonts. The scores are useful […]

Update: WordPress2Doc 1.2.8.5

WordPress2Doc - 1.2.8.5 ReleaseRound about 8 months ago, I release the last WordPress2Doc update. Some may have thought that the project has fallen asleep. But that is not the case.
There is always something going on/changing on the codebase (available on GitHub) and today there is also a new “real” release.
From now on WordPress2Doc is available in version 1.2.8.5. In addition to a new feature, the release also includes a bugfix (that fixes a problem with images coming from blogs with SSL / https support). So let’s do it quick today …
WordPress2Doc 1.2.8.5 – what is new?
The following points have changed/are new:

Feature: From now on, the document header can be formatted via the application settings. On request, the title, the author, date of the article as well as tags and categories can be displayed.
Bugfix: For blogs running on […]

WordPress self-hosting – what has to be considered?

 
self-hosted-wordpressI’ve been working with WordPress for over 9 years now and have already created, set-up and driven some blogs at this time. My own blogs all run on their own vServer. But if a friend or one of my family circle says “I want to start a blog, can you help me with the installation?”, then the blog usually ends up on a webspace.
But which webspace package is suitable? What are the installation requirements for WordPress and can not you simply take a free provider? I would like to clarify these and other questions.
WordPress self-hosting or ready to take-off solution?
If I am asked what I would recommend to a beginner – host the blog himself or use a complete solution like wordpress.com – then my answer is always always hosting itself. (If you […]

Switch WordPress to HTTPS with free Let’s Encrypt certificates

How to switch your WordPress blog to HTTPSAs the one or other may have noticed, en.code-bude.net is running strictly via HTTPS protocol since some days. All requests via HTTP protocol will be redirected to HTTPS. How exactly the switch from HTTP to HTTPS for code-bude.net was realised and what things to have in mind, I want to explain in the following article.
This article shall show you how to change your WordPress blog setup from HTTP to HTTPS. As a basis for the article I used my setup, which consists of a VPS (virtual private server) with runs Ubuntu Server as operating system and Apache as a web server.
To give you a better overview, I divided the article in the following parts:

Why you should use HTTPS for a WordPress blog?
How to install Certbot and generate SSL certificates
Automatically renew SSL certificates with Certbot
Configure […]

Activating margin and border settings for images in WordPress

Wordpress klassichen Bildeditor wiederherstellen - Titelbild
The new 3.9 release of WordPress brought with it some new changes. Sadly, this time around at least one feature was removed, which is missed by quite a few people. Since WordPress 3.9 it’s impossible to edit borders or margins in the image editor.
This isn’t a huge problem for me personally, since I know how to set these properties manually in HTML. Still, this workaround isn’t always the best solution and editing HTML isn’t for every WordPress user. Solving this problem is going to be the topic of this article.
Activating the margin and border editing interface
At the moment, to be able to conveniently edit the borders and margins in the new version of WordPress you need a plugin. It’s called Advanced Image Styles and it’s available for free in […]