proxy to file content as is if not image
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.5k
- Forks
- 93
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature
It would be super convenient if ipx could just return the content of file as is if the file isn't an image.
This could be done as a feature flag, ex IPX_PROXY_NOT_IMAGE, if enabled, ipx would simply return the file content if the file is not an image.
Of course I understand that you can check what kind of file it is before request to ipx, but there are not entirely convenient conditions for this.
Additional information
- Would you be willing to help implement this feature?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file or test is named in the issue. Start by locating IPX's request handling and the existing image validation, then find how feature flags are configured. Done means a flag such as IPX_PROXY_NOT_IMAGE can cause non-image file content to be returned unchanged while existing image optimization behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100