Using ddclient with Cloudflare

CloudFlare is the perfect dynamic DNS host because, unlike the other major ones, CloudFlare is completely free. Unfortunately if your ISP dosen’t allow use of a static IP, maintaining regular internet uptime can be quite annoying. Here’s how I got DDNS working on Ubuntu 18.04.1 LTS with Cloudflare and ddclient running as a daemon to check and renew our IP if it changes.

Optimize Google Web Fonts

There are a couple of ways to add Google Fonts to your WordPress site. But everything has its cost. And so it is important to understand that adding Google Fonts to your WordPress site affects speed and performance.

No-IP Dynamic Update Client on Ubuntu

No-IP is a dynamic DNS service that is very reliable and easy to use. If you have, like my current setup, a home server box connected to your internet service provider and do not have a static IP, then you need to use dynamic DNS service to periodically check for changes to your IP address and update the Dynamic DNS database to reflect that change.

Defer Disqus Plugin Loading

The Disqus for WordPress plugin lets site owners easily add Disqus to their sites, replacing the default WordPress comment system. On each page view, Disqus loads multiple javascript files. There is no need to load all of those resources on every page. Ideally, Disqus should only load when it’s required.

WP-Cron using Linux’s Cron

The WordPress default system “virtual” cron requires visitors to execute events. During each page load, it checks the database if there are any scheduled tasks to run. Without visitors, cron will not be prompted. This method is very inefficient and adds additional resource usage to your server. This tutorial will help walk you through replacing WordPress cron with a Linux cron job.