How to Host any (.js)-File Locally (and keep it updated using Crontab)

I’ve received many requests on the WordPress support forums to create plugins to host certain files locally.

Besides CAOS and OMGF I recently created a plugin which enables you to easily save a local copy of any external script or style, called HELL or: Host Everything LocaL. But since there are still plenty of scenario’s that aren’t covered by CAOS, OMGF or HELL I figured I’d show you how to host any file locally and keep it updated using cronjobs.

Read moreHow to Host any (.js)-File Locally (and keep it updated using Crontab)

Fix ‘Uncaught TypeError: Cannot read property ‘updateData’ of undefined’ in Magento 2

Many people have complained on Magento Dev’s Github about a bug in Magento 2, which occurs when you try to pre-select configurable attributes by parsing the URL. It triggers an Uncaught TypeError in your console and causes all Javascript execution to crash, causing the image gallery not be updated. In this tutorial I’ll show you how to squash this bug.

Read moreFix ‘Uncaught TypeError: Cannot read property ‘updateData’ of undefined’ in Magento 2

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.

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