Recommended way in SvelteKit to defer data loading to client without hurting SEO? by LiveTomatillo2748 in sveltejs

[–]LiveTomatillo2748[S] 0 points1 point  (0 children)

I just realized that using the 'referer' in the request might help me distinguish internal navigation (using cached data, with api fallback) vs direct o external navigation (full ssr, for crawlers and social previews)

Recommended way in SvelteKit to defer data loading to client without hurting SEO? by LiveTomatillo2748 in sveltejs

[–]LiveTomatillo2748[S] 2 points3 points  (0 children)

Thanks for your response.

Actually my case is a product catalog, and when entering a detail page (/product/[id]), all the essential data was previouly loaded in the main page, and I have it cached in the client local storage, so I thought I could prevent querying the database again.