IPX max-age configuration doesn't apply
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 331
- Avg merge
- 19h 52m
- Merged PRs (30d)
- 9
Description
Hello,
I'm unable to increase the cache max-age of my images.
With the help of #704 , I've tried to define it via the image config with that code but it's not working.
image: {
ipx: {
maxAge: 60 * 60 * 24,
},
},
I'm using nuxt:3.7.3 and @nuxtjs/image:1.0.0-rc.2
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
The issue names the Nuxt image IPX configuration (image.ipx.maxAge) and references #704; start by reproducing with Nuxt 3.7.3 and @nuxtjs/image 1.0.0-rc.2, then trace how that option reaches the image response. Done means the configured max-age is reflected in the generated image cache headers.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nuxt, typescript
- Domain
- performance, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100