Jan-Lukas Else

Thoughts of an IT expert

Tags: BunnyCDN


Bunny AI

Published on in 🔗 Links

Bunny.net joined the AI hype and created “Bunny AI” (docs), AI images created on the edge. I tried it out, because it’s currently free during the preview, but somehow I don’t find the generated images aesthetic or I’m just to stupid to write better prompts. I guess the Bunny developers also need some distraction from time to time, because they are working hard on S3 support for Bunny Storage for years already. 🐰

🖼️ View

Published on in 💬 Micro

I am a Bunny.net fan as they offer a CDN at a good price, are based in Europe and really care about privacy. The latest tool they offer: Bunny Fonts as a replacement for Google Fonts, because its use is illegal in Germany. 👍

View

Video libraries with Bunny.net

Published on in 💭 Thoughts

While other people get excited about new Apple devices, I get excited about new features of online services or tools that I use. 😆

🖼️ View

Costs to run this blog

Published on in ✍️ Posts

Kev Quirk and Horst Gutmann recently wrote about how much it cost them to run their blogs. So I thought, I could write about it too.

View

Why I use a paid CDN

Published on in 💭 Thoughts

To answer the question from an anonymous reader:

View

My blog is now faster

Published on in 💬 Micro

Yesterday and today I worked very hard on making my blog faster. In the Google Search Console I saw that my blog suddenly gets half as many clicks since a few days and that my pages are only “moderately” fast. I don’t really care about the number of clicks, but I do want the site to be fast. PageSpeed Insights also showed me that the time until the “First Contentful Paint” seems to be longer than a second for many users (and it has to be under a second for it to be considered fast).

I have taken the following measures:

  • Optimized HTML and CSS
  • Embedded CSS in HTML to reduce the critical path and the number of requests
  • Reduced the CNAME chain
  • Enabled the BunnyCDN Origin Shield (this probably has the greatest effect - especially for requests from the other side of the world)

With Fast or Slow my blog now reaches 100% in every category. Hopefully Google will soon notice that the site is now much faster.

View

Published on in 💬 Micro

I use BunnyCDN as storage for my Micropub media endpoint, where I upload all the photos and other media files I publish on my blog. When I upload a new photo the media endpoint first uploads the original file with the name of it’s SHA-256 hash value (so when I upload the same file multiple times, it doesn’t create multiple files). When I upload an image (JPEG or PNG) it also gets optimized and resized to a maximum width of 2000 pixels using the Tinify API (and then uploaded to BunnyCDN too), doing that significantly reduces the file size of the images displayed on my blog.

It would be probably awesome to also serve different formats based on the Accept HTTP header (WebP for browsers that support it) or different sizes, but I decided I want to hold my perfectionism (and the complexity) in check and settle for using just one optimized file version in the original file format. If at some point all browsers support WebP, I might consider using only WebP files, but until then it still takes time.

At the moment I don’t backup the files from BunnyCDN (I trust that they - or I - don’t accidentally delete them), but I could probably setup a cron job to regularly copy new files via FTP from their storage to another storage.

View

Tinify

Published on in 🔗 Links

Tinify or TinyPNG or TinyJPEG is the service I use to automatically compress and resize images uploaded to my micropub media endpoint. It’s a great service with a nice developer API that also offers a free limit of 500 compressions per month and has a pay-what-you-use policy after that (but I won’t upload more than 500 images per month anyway). I use a library written in Go to use the API.

🖼️ View

Little improvements to my Micropub endpoint

Published on in 💭 Thoughts

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

View

Jan-Lukas Else