Go Live Browser Refresh (using Kiruna)

Описание к видео Go Live Browser Refresh (using Kiruna)

This is a tutorial showing how to use Kiruna to get live reloading in full-stack Golang applications, including browser refresh and true CSS hot reloading.

KIRUNA REPO: https://github.com/sjc5/kiruna

Kiruna is a powerful development server and production build tool for developing and deploying full-stack Go applications. You can think of it as sort of a Vite alternative for the Go ecosystem.

Dev server features:
• Automatic smart rebuilds and browser refreshes
• Instant hot reloading for CSS files (without a full page refresh)
• Highly configurable to support any use case
• Glob pattern file watching
• Granular build hooks with customizable timing strategies

Production optimizations:
• Static asset hashing and embedding
• Basic CSS bundling and minification
• Critical CSS inlining
• Safely serve public static assets with immutable cache headers

Dev-time reloads are smart and fast. Based on the type of file you edit and your associated configuration options, Kiruna will do the minimum amount of work necessary to get your changes to your browser as quickly as possible.

Kiruna is completely decoupled from any specific frameworks or libraries, so you can use it with any Go server framework or router you choose, or just use the standard library.

Комментарии

Информация по комментариям в разработке