Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(gatsby-image): Add SEO advice to the readme #15056

Merged
merged 3 commits into from
Jun 24, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/gatsby-image/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ While you could achieve a similar effect with plain CSS media queries, `gatsby-i

- If you want to set `display: none;` on a component using a `fixed` prop,
you need to also pass in to the style prop `{ display: 'inherit' }`.
- Be aware that from a SEO perspective it is advisable to not change the image parameters lightheartdly once the website has been published. Every time you change properties within the _fluid_ type (like _quality_ or _maxWith_) the image will change its absolute path during the building process (due to the way in which webpack manages the cache). This happens even if the image didn't change it's name. As a result the image could appear on the image SERP as "new" one. (more details [can be found on this issue](https://github.com/gatsbyjs/gatsby/issues/13742) )
fsgreco marked this conversation as resolved.
Show resolved Hide resolved
- By default, images don't load until JavaScript is loaded. Gatsby's automatic code
splitting generally makes this fine but if images seem slow coming in on a
page, check how much JavaScript is being loaded there.
Expand Down