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

Use data-src instead of data-lazy-src #55

Open
jan-san opened this issue Jul 10, 2019 · 0 comments
Open

Use data-src instead of data-lazy-src #55

jan-san opened this issue Jul 10, 2019 · 0 comments
Labels
enhancement topic:seo Issues related to Search Engine Optimization

Comments

@jan-san
Copy link
Collaborator

jan-san commented Jul 10, 2019

The plugin is currently masking HTML attributes by prefixing them with data-lazy-.

For SEO reasons, it might be better to only use the prefix data- instead:

  • Yandex parses the data-src attribute directly (see here)
  • Google's sample lazy loading implementation also uses this prefix, so there is a good chance this tag is also parsed by other crawlers (see here)
@jan-san jan-san added enhancement topic:seo Issues related to Search Engine Optimization labels Jul 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement topic:seo Issues related to Search Engine Optimization
Projects
None yet
Development

No branches or pull requests

1 participant