Pace
A races page for every town, and a lighter first load
Every town now has its own page of races, such as Bergen or Stockholm, for search to land on. Every page's first load is 95 kB smaller.
- first load of every page
- 683 kB 779 kB
- towns with a page at launch
- 46
What changed
- A page for each town's races
- A race's “Races in town” link opens it
- Each page loads only the code it uses
- A test stops a route from weighing down every page
What it taught me
Give each search a page to land on
Search Console showed 29 town addresses as copies of the front page, because “Races in town” opened the map, not a page. A page per town gives each search its own answer. The lighter load came from route files: one that imports a loader pulls it into every page.
Want changes like this in your product?
I build and ship them by the month. You say what, I build it, and you see it working every week.