What is it at js.cprogramming.com that is so slow? Every link I click here goes there and hangs for five seconds or so before deciding to draw the page or not.
edit - by five I of course meant fortyfive.
Quzah.
What is it at js.cprogramming.com that is so slow? Every link I click here goes there and hangs for five seconds or so before deciding to draw the page or not.
edit - by five I of course meant fortyfive.
Quzah.
Last edited by quzah; 07-21-2011 at 03:45 PM.
Hope is the first step on the road to disappointment.
js.cprogramming.com is one of the subdomains used for serving status content via a CDN. Generally, js.cprogramming.com hosts CSS and JS. There's also im.cprogramming.com, for images, av.cprogramming.com, for avatars, and static.cprogramming.com for other content. (The point of having multiple is to allow browsers to download more content in parallel.)
So in theory, these should _increase_ page load speed rather than slow it down. Have you seen consistent problems with js.cprogramming.com, and is it continuing right now? It's possible that there was a transient issue with the CDN.
It's fine currently, but for about four hours or so today it was really bad, at least for me.
Quzah.
Hope is the first step on the road to disappointment.
Is yesterday the first time this has happened, or have you experienced similar problems in the past? In theory a CDN should be more responsive rather than less, since it has caches around the world, but as a result, it's also more difficult to know if there's a problem since it might affect only a specific geographic region. For example--I haven't run into any problems here in the US.
Yesterday, and the night before was the only real time I noticed anything that frustrating. Besides for the usual slow down around midnight PST(western US, not a canuck ) for only a couple of minutes. I am not sure if you have any maintenaince routines scheduled, of course that could just be on my end with whatever my ISP is doing.
I have noticed intermittent problems with content from the cprogramming.com domain for a few months. The most common symptoms I have noticed are associated with problems are js.cprogramming.com and im.cprogramming.com (firefox waiting while showing a status indicator that it is trying to connect to those sites, or awaiting content).
The typical symptom is a long time loading and, in worst case, incomplete content being rendered in my browser. I don't tend to see messages referring to lost connections or timeouts (eg HTTP errors 404 or 408).
I always attributed the symptoms to the domain being in the US (since I am in Australia) and that I'm using a slowish ADSL connection.
Thanks, I did some experiments using http://webpagetest.org and found that absent these kinds of slowdowns using a CDN is noticeably faster both here in the US and in, say, India (MaxCDN does not have data centers in Asia, so it approximately the experience of being far away from their servers).
However, I also noticed that the site wasn't adding cache control headers for static content like that being served by js.cprogramming.com (or, for that matter, the main header image). So what I've done is added a 1 day cache for the JS and CSS files served via js.cprogramming.com, so that if there *is* a problem with it, you should only need to get the download once for that day and the browser can continue to cache it until the problems abate. (The reason for caching only for 1 day is that caching this stuff makes it a pain to update the forum--I have to turn off the cache in advance of updating to ensure that new JS and CSS will be picked up.)