最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Assets very slow to load in GatsbyJS project (Netlify hosted) - Stack Overflow

programmeradmin1浏览0评论

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
发布评论

评论列表(0)

  1. 暂无评论