You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while developing an application with nuxt3 and nuxt/image (IPX / local) I came upon a Page Speed Insights problem (image).
As far as I know there is no cache busting functionality implemented so far. The default TTL is 60s which is not long enough for me. To at least improve the load speed when navigating on the site a few minutes after the initial request, I increased the TTL to 1h.
How are you guys handling caching with nuxt/image? Just simply changing the resource file names? IMO this is a lot of recurring work when having a lot of local images. I am aware that I could use a third party service like cloudinary but I like the flexibility which comes with locally hosting the images.
I think something like vite is doing (but in the assets folder not the public folder) would be nice, in a perfect world, tho there probably is something which is hindering such functionality.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi :)
while developing an application with nuxt3 and nuxt/image (IPX / local) I came upon a Page Speed Insights problem (image).
As far as I know there is no cache busting functionality implemented so far. The default TTL is 60s which is not long enough for me. To at least improve the load speed when navigating on the site a few minutes after the initial request, I increased the TTL to 1h.
How are you guys handling caching with nuxt/image? Just simply changing the resource file names? IMO this is a lot of recurring work when having a lot of local images. I am aware that I could use a third party service like cloudinary but I like the flexibility which comes with locally hosting the images.
I think something like vite is doing (but in the assets folder not the public folder) would be nice, in a perfect world, tho there probably is something which is hindering such functionality.
Beta Was this translation helpful? Give feedback.
All reactions