Skip to content

feat: responsive image serving with content negotiation (#267)#512

Open
Ayilojay wants to merge 1 commit into
rinafcode:mainfrom
Ayilojay:feat/267-responsive-image-content-negotiation
Open

feat: responsive image serving with content negotiation (#267)#512
Ayilojay wants to merge 1 commit into
rinafcode:mainfrom
Ayilojay:feat/267-responsive-image-content-negotiation

Conversation

@Ayilojay
Copy link
Copy Markdown

  • Add imageFormat utility with WebP support detection, Accept header builder, and URL format negotiation helpers
  • Inject Accept: image/webp header in axios interceptor for image URLs
  • Update CachedImage to resolve negotiated (WebP) URI before prefetch/render
  • Update ImageCache.prefetchImages to warm WebP variant on supporting clients
  • Add 26 tests for imageFormat; update imageCache tests for negotiated URLs
  • Add @/utils/* tsconfig path alias (fixes pre-existing eslint resolution error)
    closes Implement responsive image serving with Content Negotiation headers #267

- Add imageFormat utility with WebP support detection, Accept header
  builder, and URL format negotiation helpers
- Inject Accept: image/webp header in axios interceptor for image URLs
- Update CachedImage to resolve negotiated (WebP) URI before prefetch/render
- Update ImageCache.prefetchImages to warm WebP variant on supporting clients
- Add 26 tests for imageFormat; update imageCache tests for negotiated URLs
- Add @/utils/* tsconfig path alias (fixes pre-existing eslint resolution error)
@drips-wave
Copy link
Copy Markdown

drips-wave Bot commented May 30, 2026

@Ayilojay Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@RUKAYAT-CODER
Copy link
Copy Markdown
Contributor

Kindly resolve conflict and fix workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement responsive image serving with Content Negotiation headers

2 participants