Question on SSG prerender
Unanswered
Pacific Golden-Plover posted this in #help-forum
Pacific Golden-PloverOP
Hello, I'm working on a responsive website featuring a banner with different image sources for both mobile and desktop views. I've implemented a component to render the appropriate image based on the user's device. However, I've noticed that both the desktop and mobile versions are included in the prerendered code, causing mobile users to experience additional loading time due to the desktop image resource being fetched. Is there a solution to ensure that mobile users only fetch the mobile image and vice versa for desktop users?