10000 enhanced-img cache is too sticky · Issue #13010 · sveltejs/kit · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

enhanced-img cache is too sticky #13010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Rich-Harris opened this issue Nov 15, 2024 · 1 comment
Open

enhanced-img cache is too sticky #13010

Rich-Harris opened this issue Nov 15, 2024 · 1 comment
Labels
bug Something isn't working pkg:enhanced-img

Comments

@Rich-Harris
Copy link
Member

Describe the bug

If I have <enhanced:img alt="..." src="./foo.png">, and update foo.png, the page doesn't update. I have to nuke the cache with rm -rf node_modules/.vite and restart the dev server

Reproduction

later

Logs

No response

System Info

latest

Severity

annoyance

Additional Information

No response

@Rich-Harris Rich-Harris added bug Something isn't working pkg:enhanced-img labels Nov 15, 2024
@garikAsplund
Copy link
garikAsplund commented Mar 10, 2025

Hi, I just wanted to chime in and say that I didn't have to nuke the cache--just needed to restart the dev server each time.

It seems to me in a quick once-over of the enhanced:img package that there isn't any caching or file watching in it per se, and instead it's relying on Vite's built-in features. Perhaps the real problem lay somewhere in here? Also caching described here in vite-imagetools.

And a broader question, do you know if there's a roadmap for enhanced:img or what needs to happen before it's production ready?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pkg:enhanced-img
Projects
None yet
Development

No branches or pull requests

2 participants
0