dart-lang / dart-lang/pub-dev

Multiple sitemap.txt for packages

Open
#2,776 5 comments 1 reaction 0 assignees View on GitHub
Type: enhancement
Dominant language
Dart
Stars
944
Forks
184
Avg merge
1d 15h
Merged PRs (30d)
12

Description

The current sitemap handler has the following comment:

```
// Google wants the return page to have < 50,000 entries and be less than
// 50MB - https://support.google.com/webmasters/answer/183668?hl=en
// As of 2018-01-01, the return page is ~3,000 entries and ~140KB
// By restricting to packages that have been updated in the last two years,
// the count is closer to ~1,500
```

As of today, it has 12581 entries, its size is ~567K. We should probably shard it by the first letter of the package name or something similar.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.