WordPress

How to use CAOS and Analytics with a Cookie Notice (GDPR)

Since the 25th of May, our (online) lives have been blessed with a new and improved GDPR. You might’ve noticed my shiny new Cookie Notice! For novice users it raised a lot of questions. Because as a law-abiding citizen, what the hell do I have to do to keep a good, law-abiding website? If you’re a Google Analytics user, look no further. Today I’m going to show you how you can use CAOS (and all of its locally hosted analytics.js goodness!) to make your WordPress-blog GDPR-proof.

How to get a 100/100 Score on Pingdom & Google Pagespeed Insights

Choosing the right host to serve your website can be such a pain. If you’re a small business owner or a startup, you usually don’t have the funds to invest in “fancy” WordPress-hosting.

Luckily this doesn’t mean you’re site has to load sluggish. With the right tools you can give these “fancy” WordPress-hosts using Varnish & Nginx a run for their money.

In this guide I’m going to show you how to get a perfect score on Pingdom and Google Pagespeed Insights with W3TC and Autoptimize.

Combine External Javascript: Disable WP Emoji’s

As of WordPress 4.2 the CMS platform supports Emoji’s. This could be great news for you, if you use them anywhere away from your mobile phone. However, for many bloggers the added feature is an absolute eyesore, causing combine external Javascript to reappear in Pingdom and Pagespeed Insights. Damn you, WordPress! If you introduce a new feature, at least allow us to disable it!

When you’re optimizing your WordPress website, you’ll notice that minification plugins aren’t able to capture the file. Which means that ‘wp-emoji-release.min.js’ will always show up as an extra DNS request. It also means that Pingdom and Google Pagespeed Insights will suggest you to combine external Javascript. It is a terrible thing if you already spent days fine-tuning your WordPress’ website performance.

Luckily, removing the feature isn’t that hard. Today I’ll show you how a few lines of code will send your WordPress website soaring towards that perfect score again.