hash filenames with ipx
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
Hello,
IPX is generating paths like:
/_ipx/images/homepage/top-slider/logo-colipays-bordeaux-gris.png?fit=fill&s=200_50
But the image file name doesn't change. How can be add hash/chunk to the file name with ipx so the file will not be cached after a new deploy.
Example:
/_ipx/images/homepage/top-slider/logo-colipays-bordeaux-gris..19dm102lf.png?fit=fill&s=200_50
Contributor guide
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
Start at the IPX URL generation entry point described in the issue and trace how the source image path and query parameters become the output path. Define the hashed filename behavior for a new deploy, then verify that generated IPX URLs contain the hash while retaining the existing fit and size parameters.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxtjs, typescript
- Domain
- performance, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100