❗️[важно] webp вместо png и аналитика
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 212
- Forks
- 36
- PR merge metrics
- No merged PRs in 30d
Description
при анализе сайта с вашей картой через PageSpeedInsights раздел Perfomance сильно снижается.
как минимум из-за того, что отдаваемые изображения вашим скриптом могли бы быть сильно компактнее, webp уже сильно распространён, почему бы не использовать его на выдачу
и также вопросы возникают с категорией Reduce unused JavaScript
если я использую https://makemap.2gis.ru/, то у меня формируется pkg=full, а не basic,
| 2gis.ru | 185.5 KiB | 66.1 KiB |
|---|---|---|
| /2.0/js/?skin=light&pkg=full&version=v3.7.4(maps.api.2gis.ru) | 185.5 KiB | 66.1 KiB |
и также возникают уже не только у сервиса, но и у меня к тому, почему же кидаются запросы также на google
| Google Tag Manager | 75.4 KiB | 38.6 KiB |
|---|---|---|
| /gtag/js?id=UA-158…-1(www.googletagmanager.com) | 75.4 KiB | 38.6 KiB |
Ведь на https://dev.2gis.ru/ сказано, что вы в реестре и вроде российские разработчики и компания, а данные улетают в гугл, подключая на каждый сайт с вашими картами аналитику...
Да и неплохо бы присмотреться к leaflet, на котором вы базируетесь. А то там на сайте и логотипе упомянута украина 🤷🏼♂️
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names makemap.2gis.ru, the /2.0/js/?skin=light&pkg=full endpoint, PageSpeed Insights, and Google Tag Manager, but no repository files or tests. Reproduce the reported performance findings first, then define a scoped outcome for image formats, package selection, and analytics requests; the issue does not specify completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- analytics, frontend, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100