Loading Javascript asychronously in WordPress

There are a lot of simple things you can do to improve the performance of a web site. One of those things is, using asynchronous scripts. Instead of <script src=”script.js”>, write <script src=”script.js” async defer>. It unblocks page rendering of a browser, that regular javascript loading causes. This works in almost any browser, even in … » more

Changing the WordPress Maximum Upload File Size

Default settings for uploads are usually pretty low. The default maximum upload size for PHP is 2MB. In WordPress you also can set the upload size, but it cannot be larger than what server settings allow. Unfortunately there are several settings you might have to change to set your desired upload limit. Depending on how … » more

Running Apache + PHP as a different user

On my local system I started to run Apache under the same user account as my login account. The reason is to avoid permission issues during development. Often I use a CMS. After installing plugins or updating the system, these files belong to the Apache user. This can cause permission conflicts, if combined with a … » more

How to fail at making web video play

Web video is gaining a lot of traction on the web. There is a lot of potential to be found in current web technology. An example is a campaign for life vests of a french company. Unfortunately it had its challenges. 1) Does not work on Android 2) Does not work in portrait mode 3) … » more

Problems with HTTP Strict Transport Security Sub Domains

Lately, I have been looking into improving security for web applications. Using SSL or TLS is usually to first step to create a more secure web site. A recommendation is also to use HTTP Strict Transport Security (HSTS) to tell browsers to always use a secure connection. All examples I found use includeSubDomains, which also … » more

Back to top