liam@goldfinch ~/blog · main
Back to posts · ~/blog/posts/boost-site-speed-using-image-processing-for-xperience-by-kentico.md

Boost Site Speed Using Image Processing for Xperience by Kentico

When I moved my blog's images to Content Hub, Kentico's official image processing only supported the old Media Library. So I built XperienceCommunity.ImageProcessing, an open-source middleware package that resizes images via query-string parameters and converts them to WebP. Milan Lund later added format conversion in a PR. Faster loads, better Lighthouse scores.

About a month ago, I migrated my blog site's images from Xperience by Kentico's Media Library to the Content Hub, aiming to enhance control over the structured content associated with each asset.

Background

Previously, I used Kentico's Image Processing integration with SkiaSharp to resize images and ensure optimal page size. However, this package only supports the Media Library, not Content Hub assets. To bridge this gap, I developed the open-source, community-driven XperienceCommunity.ImageProcessing integration.

How It Works

When a URL is requested, the new package contains a middleware which intercepts requests for images, and resizes them based on specified query string parameters. Typically through width, height or maxSideSize. The final processed image is then sent to the browser.

Community

True to its name, this package is community-driven. I was thrilled when Milan Lund opened a GitHub issue to contribute new features via a pull request. Naturally, I welcomed his contribution!

Milan’s first contribution via a pull request added image format conversion. Now, you can resize images and serve them in modern formats like WebP, further reducing page load times and enhancing the overall user experience. My blog already utilises this new feature, check out the optimised images on my blog posts.

Milan has published his own blog post, highlighting his experience with the package and providing real-world examples. It’s definitely worth a read!

Conclusion

With the XperienceCommunity.ImageProcessing package, you can enhance your site's performance and achieve better Lighthouse scores. Special thanks to Milan for his detailed blog post and collaboration on this community package.

// related

Keep reading

how-i-used-claude-code-to-redesign-my-kentico-sustainability-module.md 2 min
#post

How I Used Claude Code to Redesign My Kentico Sustainability Module

Discover how I used Claude Code, Anthropic’s AI coding assistant, to refactor and redesign the UI of my Kentico Sustainability module - replacing third-party components with native ones and creating a cleaner, more integrated experience.

#Kentico #AI tooling #Open source
goldfinch-me-is-now-open-source.md 3 min
#post

Goldfinch.me is Now Open Source

Learn about why I’ve made the source code for my personal blog site publicly available on GitHub.

#Kentico #Open source
bringing-sustainability-insights-to-xperience-by-kentico.md 3 min
#post

Bringing Sustainability Insights to Xperience by Kentico

Open source meets sustainability: the XperienceCommunity.Sustainability package brings green tooling to Xperience by Kentico - inspired by Umbraco, and already giving back to it.

#Kentico #Umbraco #Open source
enable-quick-page-editing-from-your-xperience-by-kentico-website-channels.md 3 min
#post

Enable Quick Page Editing from Your Xperience by Kentico Website Channels

Simplify content management with this new package for Xperience by Kentico. It adds an "Edit Page" button to your website channels, allowing editors to quickly access the Kentico administration interface and make updates effortlessly. Enhance your workflow and keep your content fresh with ease.

#Kentico #Open source