Repository navigation
v0.1.4
What's new
SVG served via route prefix (bugfix)
SVG files are now served through the same URL mechanism as raster images (/_image/icons/logo.svg) instead of assuming the source file is in the public directory. The file is copied to cache on first request and served via try_files (public mode) or controller.
Before: <img src="/icons/logo.svg"> — broken if source is outside public/
After: <img src="/_image/icons/logo.svg"> — works with any ImageSourceInterface
No HMAC signature is needed for SVGs — there are no parameters to vary, so no cache exhaustion risk.
Also included
- CS fixer compliance fix
- Pre-commit quality checks requirement documented in CLAUDE.md