Header image for Cross Post for Dev.to plugin

WordPress Plugin Cross Post for Dev.to: my solution to abandoned and unmaintained plugins

I’ve released Cross Post for Dev.to, a WordPress plugin that mirrors a post to Dev.to the moment you publish it on your own site. The plugin itself is simple: one hook, one API call, one published mirror. The interesting part of this release isn’t the feature. It’s what had to be true for a zero-dependency plugin to stay trustworthy over time without me babysitting it.

The problem

Most small WordPress plugins rot over time. They’re built against whatever WordPress version happens to be current, they lean on a third-party library or two to save time, and neither the plugin nor the library gets revisited until something breaks. Usually a major WordPress release, sometimes a PHP version bump. At that point the maintainer generally abandons the project and so many of these lesser used plugins become useless for users.

Cross-Post for Dev.to needed to cross-post reliably from WordPress to Dev.to without letting that happen so easily. No bundled third-party SDKs, no external service sitting between the plugin and the Dev.to API, no dependency that could go unmaintained while the plugin using it kept shipping.

Why zero-dependency isn’t the whole answer

Removing dependencies fixes one kind of rot but not the other. A plugin with no third-party packages can still quietly break against a new WordPress release; deprecated hooks, changed REST behaviour, PHP version drift. Zero dependencies means less that can fail underneath you; it says nothing about whether the plugin still works today. Those are two different guarantees, and conflating them is how “lightweight” plugins end up just as unmaintained as heavy ones, only with fewer visible warning signs.

So the actual problem wasn’t “avoid dependencies.” It was “know, continuously and automatically, whether this plugin still works”. Which is a validation problem, not a packaging problem.

Continue reading →

Laptop With Code Header

Increase Website Performance

Increasing website performance is a huge topic that is often overlooked by developers, especially novices. This is becoming an even larger problem with the increase of readily available JavaScript plugins and ever growing bloat from CMS providers. Site performance is not only a defining factor in the SEO ranking you receive from search engines like Google but it is also the number 1 factor in deciding if a user stays on your site or not. If you can improve performance you can almost certainly improve customer retention or any other number of metrics. This article aims to provide an absolute basic example on how to increase a websites performance.

Analyze Site Speed

First things first you need to check what the current state of your website’s performance is before you try and improve it. The fact might be you could have an absolutely blazing fast site without any of these suggestions required. The main tools I use in this area are; Google PageSpeed, GTmetrix & WebPageTest. These three tools all offer a similar selection of tools however it is a good idea to use a combination rather than rely on a single source. One good feature about WebPageTest is that it offers the ability to see how the site will perform from different geographic locations and from different browsers.

Continue reading →