admin管理员组文章数量:1336380
I'm working on my first GatsbyJS project (and hosted on Netlify) and over the past few weeks have noticed that everything is very speedy during development, but when built and hosted the pages are very slow to load (particularly the images).
This is a very simple marketing site (just 6 or so pages with a few images per page), so I figured I must be doing something wrong since Gatsby is said to be "blazing-fast", and that is definitely not my experience in prod. The landing page currently takes ~40sec to load, and is only a few images and a nav bar.
I'm loading images fairly simply per the docs, but is there some optimization step that I should also be doing? Or storing assets in a particular location for Gatsby to optimize?
Most recent build: /
Thanks for any info!
I'm working on my first GatsbyJS project (and hosted on Netlify) and over the past few weeks have noticed that everything is very speedy during development, but when built and hosted the pages are very slow to load (particularly the images).
This is a very simple marketing site (just 6 or so pages with a few images per page), so I figured I must be doing something wrong since Gatsby is said to be "blazing-fast", and that is definitely not my experience in prod. The landing page currently takes ~40sec to load, and is only a few images and a nav bar.
I'm loading images fairly simply per the docs, but is there some optimization step that I should also be doing? Or storing assets in a particular location for Gatsby to optimize?
Most recent build: https://musing-goldstine-2f7024lify./
Thanks for any info!
Share Improve this question edited Jun 15, 2018 at 20:49 gregRV asked Jun 15, 2018 at 6:35 gregRVgregRV 631 silver badge6 bronze badges 2- If you link us to your site, we could probably give directly relevant advice. That performance is not the norm of course :) – fool Commented Jun 15, 2018 at 17:35
-
Ah, sorry about that! Totally forgot to include
本文标签: javascriptAssets very slow to load in GatsbyJS project (Netlify hosted)Stack Overflow
版权声明:本文标题:javascript - Assets very slow to load in GatsbyJS project (Netlify hosted) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742369746a2461999.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论