Hi everyone,
I’m currently building a web app using NuxtJS 2 for the frontend and NestJS for the backend, relying on third-party APIs (like Replicate) for the heavy lifting. I’m using Cloudflare R2 to store the generated output images.
I’m running into some performance bottlenecks when rendering specific landing pages that contain heavy, dynamic image galleries. For instance, I’m trying to optimize the SEO and load speed for my AI Pet Portrait Generator free tool page. The initial server-side render is fine, but the client-side hydration feels noticeably sluggish when the gallery components populate with high-res images from R2.
Has anyone dealt with optimizing Nuxt 2 for this kind of setup?
-
Should I be looking into more aggressive lazy loading libraries specifically for Nuxt 2?
-
Or is there a better caching strategy between Cloudflare R2 and a Nuxt frontend that I’m missing?
I’d really appreciate any insights or pointers to resources from the frontend experts here!