Skip to main content

28 posts tagged with "fiber"

View All Tags

Serve Static Files with Fiber v3

ยท 5 min read
Fiber Team
Maintainers

Static delivery is one of those topics that seems boring until it breaks.

A frontend deploy goes out, cache headers are wrong, the browser serves stale files, and suddenly support channels fill with "I still see the old UI" messages. Or worse: your container image uses a different working directory than local dev, and assets that worked locally return 404 in production.

Fiber v3 gives you a very capable static middleware surface. The trick is not only to use it, but to use it with clear policy.

Build a CRUD API with Fiber

ยท 5 min read
Fiber Team
Maintainers

CRUD APIs are often where a backend project either becomes maintainable or becomes expensive.

At first, everything feels easy: a quick route, a quick DB call, done. Three months later, handlers parse requests in different ways, errors are inconsistent, and every change takes twice as long as expected.

This post is about avoiding that path from the start.

We'll use Fiber v3 with the gorm-postgres recipe, but the real goal is not just to "get CRUD working." The goal is to set up a structure your team can still understand when the API grows.

What's New in Fiber v3

ยท 9 min read
Fiber Team
Maintainers

When most teams read a "what's new" post, they are usually looking for one of two things.

The first is curiosity: what did the framework ship? The second is risk management: what do we need to change first, and what can wait until later?

For Fiber v3, the second question is the important one.

The release includes a lot of meaningful work, but a few parts have outsized impact in real services: request binding, lifecycle hooks, listen configuration, handler compatibility, context improvements, and the new extractors package.

This article is intentionally written for that reality. You should be able to read this, open one service in your codebase, and know exactly what to migrate first and why.