I had created a metalsmith plugin for seo type skills, at least that's what I tell myself it is, more about that later. Anyway basically this plugin checks the content of each file it finds and processes accordingly. My build was taking forty minutes I think, but by changing the way I check the content of each file, telling it there's no need to try and parse images, it's now down to six minuters.
The "seo type skills" I mention are to rewrite some of the standard content in each page, to make it look a bit more dynamic. So the "Paul Clarke's blog - I live and work in Hythe" etc is slightly different on each page.
Hmm actually I need to update that don't I, I still live in Hythe but don't work here any more! I will leave that change for when I also move to React for the templates, as that is likely to force a republish of every page here too. I only republish content if it has changed, though even changing some whitespace in the page is enough to need republishing.
⬅️ Loser :: Tin And Tap was great ➡️
Paulʼs weblog - I live some place you've not heard of near Folkestone in Kent. Married + dad to two, I am a full stack web engineer, and I do javascript / nodejs, some ruby, other languages ect ect. My hobbies are pubbing, running, eating, home-automation 🤖 and other diy stuff, history, tree stuff, TV, squirrels, pirates ☠️, lego, + TIME TRAVEL.