Starting YaCy on boot with systemd

YaCy is a self-hosted web search engine, that can be used to index web pages. It can also be used as an intranet search appliance. For example, it has been used to index content from the 30C3 Conference. An unique feature is that YaCy can be run as a decentralised peer-to-peer network. You can install … » more

Using localStorage to improve critical CSS rendering

If you are interested web performance you might have read about the Critical Rendering Path. The idea behind it is, that you send the CSS (and JS) as fast as possible so the browser can start rendering the visible content first. Google has introduced this as one of the criteria for Pagespeed. After recently listing … » more

Simple WordPress security enhancement with wp-config.php

The WordPress configuration offers a lot of possibilities to enhance out of the box. A quick and simple way to boost security is to use the following settings in wp-config.php: define( ‘DISALLOW_FILE_EDIT’, true ); define( ‘WP_HTTP_BLOCK_EXTERNAL’, true ); define( ‘WP_ACCESSIBLE_HOSTS’, ‘*.wordpress.org,wordpress.org’ ); More tips and tricks can be found in the Codex at Editing wp-config.php. » more

Not using @import for WordPress child themes

It is easy to create a WordPress child theme. Just create a folder in wp-content/themes/ and add a style.css file with reference to the parent theme folder. This way you do not have to touch the original theme and can still update the parent theme without losing your changes. style.css: /* Theme Name: Twenty Fourteen … » more

Using CSP with WordPress

With a Content Security Policy (CSP) you can prevent Cross-Site Scripting attacks. It is supported by most browsers. It can help to provide extra protection for your visitors by defining what your browser is allowed to load. For a WordPress site you can use it be adding CSP rules to the .htaccess file. To work … » more

Back to top