A Andres Hernandez
Home Projects Portfolio Dashboard Export PDF Log in

Languages

English
127

Filtered Posts (Clear all)

Robust Cloudinary URL Construction: Graceful Handling of Missing Image Versions

In web development, reliable asset delivery is crucial. For the rifasvelez-web project, which relies on Cloudinary for image hosting, we recently addressed a subtle but impactful issue related to how image URLs were constructed. The challenge was ensuring that images consistently loaded, even when expected metadata, like a version segment, was missing or malformed.

The Problem: Fragile URL Generation

Cloudinary URLs often include a 'version' segment (e.g., v1234567890) after the host

Enhancing Cloudinary URL Robustness: Handling Missing Image Versions

Project Context: rifasvelez-web

The rifasvelez-web project is focused on delivering a seamless web experience. A common challenge in web development is ensuring external assets, particularly images, are always displayed correctly. Recently, we addressed an issue where Cloudinary image URLs were sometimes malformed, leading to broken images on the site.

The Challenge with Cloudinary Image Versions

Cloudinary is a powerful service for image management and optimization, often used with

May 09, 2026 0 Astro Cloudinary

Robust Image Delivery: Gracefully Handling Cloudinary URL Version Segments in Astro

In the rifasvelez-web project, our focus is always on delivering a seamless and visually rich experience. A crucial part of this involves serving images efficiently, primarily leveraging Cloudinary for asset management. While Cloudinary offers robust versioning features through its URL structure (e.g., v12345), we encountered scenarios where these version segments could be missing or malformed, leading to potential display issues or inconsistent caching.

The Challenge with Version

Andres Hernandez

Andres Hernandez

Product-focused Software Developer specializing in the React ecosystem (Next.js, TypeScript). Proven experience contributing to high-impact open source projects and building scalable web applications. Committed to clean code, UI/UX design principles, and SOLID architecture to solve complex problems.