v1.0.5 - Bug fixes and performance improvements
What's Changed
Bug Fixes
- Fixed substring matching bug in attachment lookup that caused wrong srcset URLs (e.g., "Lang.webp" incorrectly matching "franz-jascha-lang.webp")
Performance Improvements
- Images with complete attributes are now skipped (no database queries)
- Runtime cache prevents duplicate database lookups for the same image within a request
- More precise attachment ID matching with exact filename comparison
Technical Details
- Early-exit optimization in image enhancement
- Runtime cache for attachment ID lookups
- Exact filename matching in database queries
Full Changelog: v1.0.4...v1.0.5