Ask HN: Has HN been slow/spotty loading for you?
31–40 of 46 posts
Re: Ask HN: Has HN been slow/spotty loading for you?
#32Earlier quoted context omitted.
Wouldn't server side caching run into issues since the page is different for each user? For instance, all the vote up/down buttons seem to have your username hardcoded into them as the href.
Yes you are right. I did not notice it. HTTP cache is effective on resources that are same for all users. One possible solution is to decouple the personalized data and load it separately using AJAX. Votes are already implemented in a similar way. Generally, I am proponent of HTTP caching. It requires some modifications of web sites in order to be effective but still the whole system remains less complicated, compare…
Re: Ask HN: Has HN been slow/spotty loading for you?
#33Re: Ask HN: Has HN been slow/spotty loading for you?
#34I can't find the HN story, but I seem to remember that PG was rebooting the server quite regularly. It must be pretty difficult when you're looking at having to toss up continuing to use the language with it's limitations or start looking at changes to Arc. Maybe a front-end cache like nginx would help?
I don't know how well something like a front end cache would do to speed up content delivery as I suspect news.yc has a lot more users logged in than normal websites which might take away the advantages of a front end cache.
Re: Ask HN: Has HN been slow/spotty loading for you?
#35I've had the images fail to load, as well as the stylesheet (so all the text comes up as Times New Roman.)
Re: Ask HN: Has HN been slow/spotty loading for you?
#36Re: Ask HN: Has HN been slow/spotty loading for you?
#37Re: Ask HN: Has HN been slow/spotty loading for you?
#3810 to 20 seconds? That's pretty speedy. I've seen pages take minutes to load. I've noticed the slowness you speak of for a couple of weeks now.
That is slow for the HTML document to be returned (not rendered, but just returned).