Jan-Lukas Else

Thoughts of an IT expert

Little improvements to my Micropub endpoint

Published on in 💭 Thoughts
Short link: https://b.jlel.se/s/146
⚠️ This entry is already over one year old. It may no longer be up to date. Opinions may have changed. When I wrote this post, I was only 20 years old!

The great thing about my custom Micropub endpoint for Hugo is, that I can add all the features I need.

Today I added a feature, that purges the BunnyCDN cache 10 seconds after a new entry got published. Sometimes it happens that I open its URL before the Hugo build is finished and then a 404 page gets cached. Currently Hugo needs around three seconds to build my blog (on the server, on my desktop PC it’s even faster). It generates a little over 1000 pages including paginator-pages.

I use BunnyCDN instead of Cloudflare because it doesn’t set any cookies, it’s an European startup and it’s “just” a CDN. Their service works awesome, haven’t had a single problem yet.

Tags: , ,

Jan-Lukas Else
Interactions & Comments