Host WordPress blog at home in 3 steps

If you run a small private blog like this one and have a fast enough internet connection (especially the upload is important), you can consider hosting it directly at home. There are some advantages to this, but there are also new challenges. Here I explain the steps that are necessary to get 100 - 200 visitors on ...

Host WordPress blog at home in 3 steps Read More »

Nginx: PHP alternative HHVM

If you want to further optimize the execution speed of PHP scripts, sooner or later you will stumble upon HHVM - a just-in-time compiler for PHP. HHVM can be easily installed via the Debian package manager. Once that is done, it can be used basically like php5-fpm. I left all the rest of the configuration inside Nginx - this allows for good ...

Nginx: PHP alternative HHVM Read More »

Pagespeed: Load WordPress in under 1s (Nginx + HTTP/2)

If you want WordPress to be really fast, you won't get anywhere with common caching plugins after a certain point. Nginx with HTTP2 helps. Since version 1.9.5 the open source version of Nginx supports the HTTP/2 protocol directly - a tedious configuration or the use of patches is no longer necessary. English Version below The HTTP/2 implementation is running - ...

Pagespeed: Load WordPress in under 1s (Nginx + HTTP/2) Read More »

Pagespeed: combine_css with WordPress

If you use WordPress with mod_pagespeed or ngx_pagespeed and use the filter combine_css, you will notice that nothing happens. What to do. The reason for the problems: The pagespeed module does not take into account CSS embeds that have different IDs. WordPress sets the name of the CSS as ID when embedding, in the end it looks like this: link rel='stylesheet' ...

Pagespeed: combine_css with WordPress Read More »

Pagespeed: Nginx + Memcached + PHP5-FPM

Nginx with PHP5-FPM is already quite fast, if finished pages are stored via Memcached the load time can be reduced even further. The implementation is simple. This article is inspired by a tutorial on and transferred to current software versions. The following requirements must be met so that the Nginx setup can benefit from Memcached: nginx with PHP5-FPM php5-memcached modules installed ...

Pagespeed: Nginx + Memcached + PHP5-FPM Read More »

Nginx: Activate GZIP

To speed up the data transfer and to minimize the data transfer GZIP should be enabled for JavaScript, CSS and HTML files. By default Gzip is not enabled for all relevant mimetypes, so this should be done in nginx.conf (add in http section): gzip on; gzip_disable "MSIE [1-6]\.(?!.*SV1)"; gzip_proxied any; gzip_buffers 16 8k; gzip_types text/plain text/html text/css text/xml ...

Nginx: Activate GZIP Read More »

nginx + PHP under Debian (+ W3TC)

nginx is a fast web server that can also be used as a reverse proxy or for streaming Flash videos. Originally developed for the requirements of a Russian search engine, more and more web projects also rely on nginx. Unlike the well-known Apache web server, the configuration of nginx under Debian is not quite as simple - you still have to download files from ...

nginx + PHP under Debian (+ W3TC) Read More »

Scroll to Top