src/dazzle_ui/runtime/asset_fingerprint.py¶
Generated: 2026-03-30T04:38:48.906433+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_ui
Purpose¶
Content-hash fingerprinting for static assets.
Computes SHA-256 hashes of static files at startup and provides a Jinja2 filter that rewrites paths with the hash embedded in the filename:
/static/css/dazzle-bundle.css → /static/css/dazzle-bundle.a1b2c3d4.css
The static file server recognises t...
Key Exports¶
build_asset_manifeststatic_url_filterstrip_fingerprint
Dependencies¶
Imports¶
hashlibrepathlib.Path
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_asset_fingerprint.pytests/integration/test_runtime_e2e.pytests/integration/test_runtime_pipeline.pytests/unit/test_runtime_test_routes.pytests/unit/test_runtime_services.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.