Static GitHub Issues

[1507] Page still rendered 'live' even for generated pages

prev: Preloading hashed, static assets with rel="preload"
next: Help!! Nuxt js (npm run generate) cannot read property session

Hi, I am developing a web shop with ~90k detail pages and I am currently experimenting with nuxt generate to boost loading times. I could get the generation process working, copied all the generated html pages to my web root and configured the server to use the static pages instead of proxying localhost:3000.

When I load a detail page by entering the full url in the browser the page loads very fast and my API server is not hit. But if I use the root page to navigate to any of these pages, the request takes as long as before the generation step and I can see unexpected calls to the API im my backend logs. Of course I use asyncData for the ssr.

Can anybody help?

<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1342">#c1342</a>)</em></sub></div>