-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Low data mode #7788
Comments
(Indeed... going a |
Couldn't we save data by just building a light version of iD not containing secondary features like name-suggestion-index, Mapillary and StreetSide? It would make it possible to load smaller JavaScript assets. Migrating the imagery index to a API returning only what one needs and not returning all entries for the whole world could save space as well. |
@jidanni Offline mode would be a totally separate and much more difficult feature to build, particularly for a web app.
@Nakaner I don't see these as secondary since they add significant functionality that mappers constantly use. If someone doesn't want something then they can always fork iD. Though I do agree that, as much as possible, we should avoid loading assets until the mapper initiates whatever feature. |
It seems the new version v2.18.2 loads many more data to get access to the iD editor after pressing the "Edit" button on top of the osm.org page. I assume there is a rough estimation of app. 1MB for v2.17.x to app. 5MB now for v2.18.2. Do you have more exact figures by chance. Is it possible to reduce the data load while the iD starting procedure? Do you know the reason for the strong increase of the download data? |
@sun-geo I haven't been paying much attention to initial download size, so I don't have great answers for you. Since we unbundled a lot of data in release (#4994), iD's JavaScript payload should be smaller but the data file minification may not be as optimized, but that's just a guess. Before even starting low data mode I'd definitely like to take a look into this. |
Another issue is that even if I focus on a different nearby area and then switch back, iD will attempt to reload the imagery. This significantly increases the bandwidth consumption of both the editor and the imagery server. |
iD can download a lot of data, which is an issue for mappers with slow or limited connections. This could become even more of a pain point as we continue to expand iD's mobile capabilities. We should consider adding the option to reduce the amount of downloaded data, at the cost of somewhat reduced functionality. Here are a few ideas:
Of course, the underlying goal should be to keep regular data usage as lean as reasonably possible so most mappers won't need this setting.
The text was updated successfully, but these errors were encountered: