Advertise here with Carbon Ads

This site is made possible by member support. 💞

Big thanks to Arcustech for hosting the site and offering amazing tech support.

When you buy through links on kottke.org, I may earn an affiliate commission. Thanks for supporting the site!

kottke.org. home of fine hypertext products since 1998.

Beloved by 86.47% of the web.

🍔  💀  📸  😭  🕳️  🤠  🎬  🥔

Quick client-side searching with JavaScript

Flickr’s developer blog has a pretty interesting post about how they built a fast client-side search that worked equally well for data sets of 10 people and 10000 people. Ajax with XML & JSON was too slow and using dynamic script tags was too insecure so they rolled their own format and used split to quickly parse it.