|
|
| | Tell HN: Threads fast | |
132 points by pg on April 24, 2010 | hide | past | favorite | 26 comments
|
| | I just rewrote the code that generates the threads page to be faster. It used to be slow the first time you called it after a restart because it had to load lot of items into memory. Now items aren't loaded till the moment they're needed. This also makes it possible to show an unlimited number of threads. |
|
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
|
This was a problem, because it seems that after I wrote a post, I immediately realized there was some error, and I needed to fix it. The page that loads after you "add commment" was also affected by the cache bug, so I couldn't get an edit link there. I would have to try "threads" a number of times, and eventually, if I was lucky, I would get the edit link. Then I could fix my post. Frustrating. (And not really HN's fault, FWIW.)
I haven't tried this through the proxy yet, but it seems massively faster from home, which should make the work proxy happier. Thanks!