I made a few tweaks to my website over the weekend – chief one being to decrease the static page refresh time and update packages, but ran into all sorts of problems trying to build the Docker image. Error: Could not load the “sharp” module using the linuxmusl-arm runtime Possible solutions: – Manually install libvips […]
Just a very quick website update. When I first migrated to using next.js as my front-end, I used the WPGraphQL plugin to fetch data from WordPress. GraphQL is really nice – especially the facility to tailor queries and include related data – but on WordPress it seems really slow. Obviously I am running WordPress on […]
Well – it has taken some time (and partially explains the lack of posts), but I think I’ve got my personal websites set up “just so” now. The core engine is still WordPress, which is running headless to provide all the content to the front-end. I use WordPress admin to manage the site, write posts, […]
So, learnt something today. With nextjs “getInitialProps” will run server-side when the page first loads, but then run client-side on reloads (i.e. if you navigate back to it). This means my website breaks if you go “back” to a search results page, as it tries to hit the headless WordPress back-end – which it can’t. […]
As I’ve already mentioned, I’ve migrated this website over to nextjs. There is a headless WordPress installation behind it still, but the pages are now pre-rendered and served statically, including pre-loading, so navigation around should be blazing fast. The pages which aren’t pre-rendered are the archive and search pages, which are rendered server-side on demand, […]
Well, the radio silence since May has been for a number of reasons, a large aspect of which was some infrastructure work behind the scenes. I manage to b0rk the pi which hosts this website, but rather than spending ages recreating all the websites, database, config, etc. I decided to put everything into Docker containers, […]
Just a post to mirror the post on my other blog – I’ve decided it’s not the best use of my resources to continue to pay for domain and WordPress hosting for that blog, so in a couple of weeks revjameshandley.com will lapse expire, and my vicar blog will only be available via revjameshandley.wordpress.com. I’ll […]
This is sort of a meta-post to give fair warning that I’m moving away from a paid WordPress hosting plan, and am going to allow “revjameshandley.com” to expire in a couple of weeks. My hope is that this blog will revert to the free plan, and still be available at revjameshandley.wordpress.com. If not I’ll have […]
Had a very frustrating couple of days fighting WordPress, so I thought I’d share my findings in the hope that someone else may benefit. The slugs incidentally are the part that form the permalink of the page/post – so this post’s slug will be 2022/01/14/wordpress-slug-autocorrect, leading to a permalink of https://www.eutony.net/2022/01/14/wordpress-slug-autocorrect Rather than spin the […]
I’ve just adding a plugin (“WP Twitter Auto Publish”) which I think will auto post my blog entries to Twitter… So this isn’t a very imaginative one, but gotta test it somehow! Update – All seems to work. I’ve deleted the tweet it generated now.