Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

SEO improvements #821

Open
2 of 4 tasks
chrifro opened this issue Oct 26, 2020 · 6 comments
Open
2 of 4 tasks

SEO improvements #821

chrifro opened this issue Oct 26, 2020 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@chrifro
Copy link
Contributor

chrifro commented Oct 26, 2020

  • add robots.txt (This file can protect private content from appearing online, save bandwidth, and lower load time on your server. A missing "robots.txt" file also generates additional errors in your apache log whenever robots request one.)
    This doesn't seem neccessary according to google

Does my website need a robots.txt file?
No. When Googlebot visits a website, we first ask for permission to crawl by attempting to retrieve the robots.txt file. A website without a robots.txt file, robots meta tags or X-Robots-Tag HTTP headers will generally be crawled and indexed normally.

this is the updated version of #561

@chrifro chrifro added the enhancement New feature or request label Oct 26, 2020
@chrifro chrifro mentioned this issue Oct 26, 2020
4 tasks
@nisarhassan12
Copy link
Contributor

@ChristinFrohne We can significantly reduce the amount of JavaScript if we were to remove the Twitter embeds i.e all the tweets seem to load their own separate (non-blocking)JS files which sums up to 31.70 MB which is insane.

I know we could not get rid of the tweets but maybe instead of the twitter embeds we can re-create them ourself that way we will be able to get rid of 31.70 MB of JavaScript being shipped ?

As a comparsion www.gitpod.io/ i.e the homepage ships 7 JavaScript files summing up to 456.13KB which is less then 0.5 MB.

@nisarhassan12
Copy link
Contributor

Doc search is a feature that is available for /docs not sure why the CSS and JavaScript for the search which is added via Algolia doc search are loaded on every page.

@nisarhassan12
Copy link
Contributor

nisarhassan12 commented Oct 27, 2020

Currently we are serving the fonts from Google Fonts would be better to serve them from our own CDN alongside other resources. I'll make a Pr for that.

https://www.tunetheweb.com/blog/should-you-self-host-google-fonts/

@nisarhassan12
Copy link
Contributor

There are some issues related to image performance. https://www.gatsbyjs.com/plugins/gatsby-image/ Can help us address the below issues. @ChristinFrohne Should I make a Pr for it ?

image

image

@nisarhassan12 nisarhassan12 self-assigned this Oct 27, 2020
@chrifro
Copy link
Contributor Author

chrifro commented Oct 29, 2020

Thanks for looking deeper into this @nisarhassan12

we can re-create them ourself that way we will be able to get rid of 31.70 MB of JavaScript being shipped ?

Would the size be significant smaller then? If so, it seems like a great solution. Then we could also adjust the style of the card and add some information to it. (e.g. Ben Halpern, Founder of dev.to)

Doc search is a feature that is available for /docs not sure why the CSS and JavaScript for the search which is added via Algolia doc search are loaded on every page.

What is the impact of that? Could you look deeper into this if it's relevant?

Currently we are serving the fonts from Google Fonts would be better to serve them from our own CDN alongside other resources. I'll make a Pr for that.

Please make sure to focus on the things that bring us a significant improvement and weigh up the invested time versus the outcome. How big is the impact of self-hosting the fonts?

There are some issues related to image performance. https://www.gatsbyjs.com/plugins/gatsby-image/ Can help us address the below issues. @ChristinFrohne Should I make a Pr for it ?

Yes, please do so.

@nisarhassan12
Copy link
Contributor

Doc search is a feature that is available for /docs not sure why the CSS and JavaScript for the search which is added via Algolia doc search are loaded on every page.

I have opened an issue for it ironstar-io/gatsby-plugin-algolia-docsearch#5. Let's see what the creators of the plugin think.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants