Skip to content
Skip to content
Skip to content

Case study

Developer docs that load at once and search as you type.

Time to the first search resultfrom 1.9 sto 0.4 s

Client
Loopdocs
Year
2022
Role
Frontend developer
Kind
Web
A developer typing at two monitors at night

The problem

Loopdocs hosts API documentation for other companies. Search was a round trip to a server and the sidebar re-rendered on every page.

The approach

  • Pages are static; only the search box and the code tabs are interactive.
  • The search index ships in small pieces and loads the moment the box gets focus.
  • Code samples remember the language you picked last.
A developer at two monitors at night with city lights behind
A developer at two monitors at night with city lights behind
Two developers working late on laptops, city lights outside
Two developers working late on laptops, city lights outside

The result

The first search result now shows in 0.4 s instead of 1.9 s, and the docs score 100 on every Lighthouse category.

Built with

AstroTypeScriptPagefindMDX

Case study

Developer docs that load at once and search as you type.

Time to the first search resultfrom 1.9 sto 0.4 s

Client
Loopdocs
Year
2022
Role
Frontend developer
Kind
Web
A developer typing at two monitors at night

The problem

Loopdocs hosts API documentation for other companies. Search was a round trip to a server and the sidebar re-rendered on every page.

The approach

  • Pages are static; only the search box and the code tabs are interactive.
  • The search index ships in small pieces and loads the moment the box gets focus.
  • Code samples remember the language you picked last.
A developer at two monitors at night with city lights behind
A developer at two monitors at night with city lights behind
Two developers working late on laptops, city lights outside
Two developers working late on laptops, city lights outside

The result

The first search result now shows in 0.4 s instead of 1.9 s, and the docs score 100 on every Lighthouse category.

Built with

AstroTypeScriptPagefindMDX

Case study

Developer docs that load at once and search as you type.

Time to the first search resultfrom 1.9 sto 0.4 s

Client
Loopdocs
Year
2022
Role
Frontend developer
Kind
Web
A developer typing at two monitors at night

The problem

Loopdocs hosts API documentation for other companies. Search was a round trip to a server and the sidebar re-rendered on every page.

The approach

  • Pages are static; only the search box and the code tabs are interactive.
  • The search index ships in small pieces and loads the moment the box gets focus.
  • Code samples remember the language you picked last.
A developer at two monitors at night with city lights behind
A developer at two monitors at night with city lights behind
Two developers working late on laptops, city lights outside
Two developers working late on laptops, city lights outside

The result

The first search result now shows in 0.4 s instead of 1.9 s, and the docs score 100 on every Lighthouse category.

Built with

AstroTypeScriptPagefindMDX

Start a project

Three quick picks so the first reply is useful. You finish the message on the contact page.

What do you need?

Rough budget

brief.tsdraft, not sent

Brief so far: nothing picked yet

or write to hello@sorenhale.dev

Nothing is sent from this page. Your picks are kept in this browser tab and wait for you on the contact form.

Start a project

Three quick picks so the first reply is useful. You finish the message on the contact page.

What do you need?

Rough budget

brief.tsdraft, not sent

Brief so far: nothing picked yet

or write to hello@sorenhale.dev

Nothing is sent from this page. Your picks are kept in this browser tab and wait for you on the contact form.

Start a project

Three quick picks so the first reply is useful. You finish the message on the contact page.

What do you need?

Rough budget

brief.tsdraft, not sent

Brief so far: nothing picked yet

or write to hello@sorenhale.dev

Nothing is sent from this page. Your picks are kept in this browser tab and wait for you on the contact form.

Footer

Local time, Oslo

Footer

Local time, Oslo

Footer

Local time, Oslo

Create a free website with Framer, the website builder loved by startups, designers and agencies.