module AssetPipeline::StaticAssets

Overview

A deterministic, content-addressed compiler for application-owned web assets.

Files are addressed by their normalized path relative to source_root. Builds preserve that directory structure, fingerprint every emitted file, and write a manifest suitable for runtime URL lookup. Text assets remain byte-for- byte identical except for local dependency URLs, which are rewritten to the dependency's fingerprinted public URL.

Defined in:

asset_pipeline/static_assets.cr

Constant Summary

DEFAULT_MANIFEST_NAME = "manifest.json"
FINGERPRINT_LENGTH = 32
MANIFEST_SCHEMA_VERSION = 1