nuxt / nuxt/image

hash filenames with ipx

Open
#383 13 comments 4 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.