Hacker News new | past | comments | ask | show | jobs | submit login

ought to gzip the string before it goes to base64 while you're at it



We actually do this exact thing to send dynamic parameters to a chart-generating backend server. It works great; you get a surprising amount of compression using gzip (2-4x space savings) and the URLs are naturally cached by proxies without any magic!


If it's mostly ascii compression is something you should almost automatically think about.

There's also snappy http://code.google.com/p/snappy/




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: