website
website copied to clipboard
Reduce DOM size
The feature
Not so much a feature, but we can remove the logos from the country page. (And move them to the agency page)
Why?
- better performance
- better SEO
- reducing the amount of data that needs to be transferred each time
- ...
Examples and inspiration
Google PageSpeed Insights (Belgium) 13961 elements Google PageSpeed Insights (Sweden) 10469 elements
Do you mean our logos or the social media icons?
Do you mean our logos or the social media icons?
Yes, That is the main cause of the excessive DOM size, the table is something necessary (for now)
I'm sorry for phrasing the question so poorly, I'll try to make it unambiguous by splitting it into two questions:
- Do you mean that we should remove our logos?
- Do you mean that we should remove the social media icons?
The problem is not so much the (social media) logos/icons, but each of them has a unique link and that is what makes the DOM size so large (among other things). Removing the social media links would be a solution. From the country page, though.😉
Aha. That would add some clicks to get to the link, though, and removing the icons would remove the clue that the org is worth clicking on. For myself, I often use the country page to get an overview of where works need to be done. It would be great if we could do some user research to see how the links are used and where they make sense for the users.
I would be worried about the DOM parsing we do for the "filtering" feature but it seems to work for now even on slow devices(tested on a Pinephone).
If it becomes a problem we should maybe come up with a better solution to long lists, things like #212 and in the worst case default to pagination.