Gatsby: Warning Query takes too long

Hi,

the gatsby site name is: https://distracted-torvalds-4c6e96.netlify.app/

When building the below query take 9mins and total build time is 17mins, please help.

1:09:38 AM: warning Query takes too long:
1:09:38 AM: File path: /opt/build/repo/src/components/blog/index.js
1:09:38 AM: warning Query takes too long:
1:09:38 AM: File path: /opt/build/repo/src/components/blog/newsPage.js
1:09:38 AM: warning Query takes too long:
1:09:38 AM: File path: /opt/build/repo/src/components/home/index.js
1:09:41 AM: warning Query takes too long:
1:09:41 AM: File path: /opt/build/repo/src/template/blogTemplate.js
1:09:41 AM: URL path: /blog/honeypots-tricking-cyberattackers-and-keeping-your-assets-safe/
1:09:41 AM: Context: {
1:09:41 AM:     "prefix": "blog",
1:09:41 AM:     "previousSlug": "8 Ways to Secure Your Business’s Routers ",
1:09:41 AM:     "nextSlug": "Why your business can’t ignore PCI DSS compliance ",
1:09:41 AM:     "slug": "Honeypots: tricking cyberattackers and keeping your assets safe "
1:09:41 AM: }
1:09:41 AM: warning Query takes too long:
1:09:41 AM: File path: /opt/build/repo/src/template/blogTemplate.js
1:09:41 AM: URL path: /blog/why-your-business-cant-ignore-pci-dss-compliance/
1:09:41 AM: Context: {
1:09:41 AM:     "prefix": "blog",
1:09:41 AM:     "previousSlug": "Honeypots: tricking cyberattackers and keeping your assets safe ",
1:09:41 AM:     "nextSlug": "5 tips for effective network segmentation ",
1:09:41 AM:     "slug": "Why your business can’t ignore PCI DSS compliance "
1:09:41 AM: }
1:09:41 AM: warning Query takes too long:
1:09:41 AM: File path: /opt/build/repo/src/template/blogTemplate.js
1:09:41 AM: URL path: /blog/5-tips-for-effective-network-segmentation/
1:09:41 AM: Context: {
1:09:41 AM:     "prefix": "blog",
1:09:41 AM:     "previousSlug": "Why your business can’t ignore PCI DSS compliance ",
1:09:41 AM:     "nextSlug": "12 examples of common ransomware you should be aware of ",
1:09:41 AM:     "slug": "5 tips for effective network segmentation "
1:09:41 AM: }
1:09:41 AM: warning Query takes too long:
1:09:41 AM: File path: /opt/build/repo/src/template/blogTemplate.js
1:09:41 AM: URL path: /blog/12-examples-of-common-ransomware-you-should-be-aware-of/
1:09:41 AM: Context: {
1:09:41 AM:     "prefix": "blog",
1:09:41 AM:     "previousSlug": "5 tips for effective network segmentation ",
1:09:41 AM:     "nextSlug": "8 things you must know when moving your business online ",
1:09:41 AM:     "slug": "12 examples of common ransomware you should be aware of "
1:09:41 AM: }

i cannot show the full build logs, it says

Body is limited to 32000 characters; you entered 217480.

please let me know how i can send?

Hey there, @aburuqayyah :wave:

Thanks for your patience here, and apologies for the delay. This is often cause by large images on sites. If you could try reducing the size of any source images on the site, we believe that this will benefit you here.

Additionally, this Support Guide might be helpful:

Let us know if this gets you on the right track!