unjs / ipx

🖼️ High performance, secure and easy-to-use image optimizer.
MIT License
1.54k stars 61 forks source link

Support local cache for http sources #46

Closed ascorbic closed 2 years ago

ascorbic commented 2 years ago

It would be good if this could support a local cache for files loaded over HTTP. Ideally it could save the ETag too. Most environments have some form of cache available, even serverless functions which can use /tmp.

pi0 commented 2 years ago

Hi. I'm finally back to IPX updated. Let's track via #30