Gatsby: Empty `<div id="___gatsby"><div style="outline:none" tabindex="-1" role="group"></div></div>` in production

Created on 18 Feb 2019  路  2Comments  路  Source: gatsbyjs/gatsby

If I'm opening view-source:https://www.agrariansupply.com/ - I see incomplete static rendering with empty, but if I navigate to view-source:https://www.agrariansupply.com/index.html static rendering is complete.

Same thing happens on every statically build page.

for example:
view-source:https://www.agrariansupply.com/product/lm-6-high-porosity-mix-ca/
view-source:https://www.agrariansupply.com/product/lm-6-high-porosity-mix-ca/index.html

I'm hosting on netlify.com

Is there any way to fix this behavior in gatsby's config, or should I ask netlify support?

needs more info bug

Most helpful comment

What do you mean by an incomplete static rendering?

I believe you are having the following issue:
https://www.gatsbyjs.org/packages/gatsby-plugin-offline/#notes

By using gatsby-plugin-offline we optimize the SSR served paged so we don't ship to much data each time to our users. For search engines this doesn't make a difference, they just get the original SSR page.

All 2 comments

What do you mean by an incomplete static rendering?

I believe you are having the following issue:
https://www.gatsbyjs.org/packages/gatsby-plugin-offline/#notes

By using gatsby-plugin-offline we optimize the SSR served paged so we don't ship to much data each time to our users. For search engines this doesn't make a difference, they just get the original SSR page.

@wardpeet Thank you for explanation, I've missed this part of docs!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kalinchernev picture kalinchernev  路  3Comments

dustinhorton picture dustinhorton  路  3Comments

Oppenheimer1 picture Oppenheimer1  路  3Comments

benstr picture benstr  路  3Comments

mikestopcontinues picture mikestopcontinues  路  3Comments