Nginx: keep ngx_pageespeed up to date

If you use the Nginx-Pagespeed module - like I do on and - you should keep it up to date. This can save you a lot of troubleshooting. If you already compile Nginx itself and use the module "ngx_pagespeed", you not only have to keep Nginx up to date, which brought HTTP/2 support in the last versions, but also the ...

Nginx: keep ngx_pageespeed up to date 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 »

Nginx: HTTP/2 available via alpha patch

HTTP/2 is supported by more and more browsers, only the web servers are sometimes still stuck. A first patch has now been released for Nginx that integrates the new protocol. Of course it is necessary to compile Nginx itself first. I use the current mainline branch (currently 1.9.4) as a base, OpenSSL 1.0.2 must be installed. …

Nginx: HTTP/2 available via alpha patch 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 »

Pagespeed: Use Disqus with Lazyload

Anyone who uses the Disqus commenting system on their blog will have noticed sooner or later that Disqus sometimes causes loading delays. The solution: Lazyload. The basic idea: if a defined point is reached while scrolling a post, the comments are reloaded. If a reader does not read the whole post the comments are not loaded at all, who ...

Pagespeed: Use Disqus with Lazyload Read More »

Nginx with SSL and SPDY

As some of you may have noticed, my blog is now running over an encrypted connection (recognizable by the HTTPS icon in the browser bar). The main reason for this change, which unfortunately costs some time at first byte time, was the possibility to offer connection via SPDY for corresponding browsers (e.g. Chrome). Also, I was interested to see how ...

Nginx with SSL and SPDY Read More »

Scroll to Top