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 more

Leverage Browser Caching by Hosting Analytics Locally with Monster Insights’ WordPress Plugin

It’s a great performance boost for your website to host analytics.js locally. This helps you leverage browser caching, get a perfect 100/100 score on Pagespeed and Pingdom and raise conversion.

An average blog can locally host analytics.js without any fuss. If you’re in ecommerce (e.g. WooCommerce) things get tough, because hosting your Analytics file locally, usually means you can’t use most of Google’s Universal Analytics features.

Today I’m going to show you how you can easily host analytics.js locally, leverage browser caching and still profit from Universal Analytics’ advanced features.

Read more