Static GitHub Issues

[1793] Guidance For Rendering Lightweight Static HTML

prev: nuxt start doesn't seem to respect HOST environmental variable
next: Hiding references to __nuxt in the scripts and the template ID

We are using Nuxt to render out static html.

During that process, the data that is being retrieved in the async data method is being stored with the html as part of the nuxt object. We no longer need this data and it's adding to our page weight. We need to remove it from the nuxt state.

How do we properly render the html so that we don't store the hydration data on the outputted source html?

<!--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/c1608">#c1608</a>)</em></sub></div>