To Think About . . .

Nothing is foolproof because fools are ingenious. Anon

 

 

 

My Latest Book

Product Details

Also available on Amazon.com, Amazon.fr, and other Amazons and bookshops worldwide! 

Search This Site
Log-in
Latest Comments
My Other Books

Product Details

Product Details

Product Details

The Pathway to Awesomeness

Click to order other recommended books.

Find Us on Facebook Badge

Discussion Forum > Form getting slower?

Have others noticed that this forum is getting slower? In watching the load progress bar in Firefox I see that it is making calls to Twitter each time the page needs to reload.

I thought this Twitter stuff was just a nuisance, but it really seems to be acting like malware ... at least in as much as it gets its hooks into everything. If I ever needed a reason to avoid Twitter, I have found it!
March 30, 2009 at 20:46 | Unregistered CommenterMike
Yes, Twitter really slows this website down. I forbid twitter.com the execution of Javascript, which is needed to dynamically load the updates. The problem is, if you disable Javascript completely, posting in the forum doesn't work. The solution: Firefox with the "NoScript" extension: https://addons.mozilla.org/de/firefox/addon/722

Just forbid twitter.com and allow markforster.net - et voilĂ , fully functional forum without unnecessary waiting.
March 30, 2009 at 20:58 | Unregistered CommenterAndreas Hofmann
Hi Andreas,

I checked my No Scripts and have Mark "trusted" and Twitter as "untrusted". I'll have to monitor speed but I think I still see this site as going to Twitter on page changes. Maybe it is trying but No Script is turning it back?
March 30, 2009 at 22:15 | Unregistered CommenterMike
It really is becoming a problem isn't it? It doesn't seem consistent though - sometimes the pages load almost instantly and at others you can make half a dozen cups of coffee. Tonight is the worst it has been for a while - I finally resorted to opening the site about 4 times in separate tags - which no doubt is adding to the slownees for everyone else ...... oops!
March 30, 2009 at 22:23 | Unregistered CommenterChristine B
Yes, even with Javascript disabled there are still connections to twitter.com, but less. To get rid of them completely I suggest putting twitter.com in your hosts file. If you don't ever want to do anything with twitter at all, that is.
March 30, 2009 at 22:25 | Unregistered CommenterAndreas Hofmann
Andreas

Would it make a difference if the "Twitter Update" section was removed? Presumably anyone who wanted to "twitter" or see the updates could access them through their own twitter account?
March 30, 2009 at 22:31 | Unregistered CommenterChristine B
I'm bored now! Off to watch Law & Order | UK - and to action "catch up on recorded video" task :-)
March 30, 2009 at 22:34 | Unregistered CommenterChristine B
I haven't looked over the complete code, but the "Twitter Updates" section is what is creating multiple connections to twitter via javascript. So yes, removing it would help.
March 30, 2009 at 22:35 | Unregistered CommenterAndreas Hofmann
Oh, well, have fun with L&O.

The twitter grade button seems to be a culprit, too.
March 30, 2009 at 22:37 | Unregistered CommenterAndreas Hofmann
Andreas,

Can I block "grader.twitter.com" I see the message that it is waiting for it but when I click on the No Script option button it does not give me an option to put it on my untrusted list. Is there a way to access the No Script untrusted list without actually going to the site? I can't even get to grader.twitter.com directly.
March 30, 2009 at 22:40 | Unregistered CommenterMike
Adding these two lines to your hosts file (for XP, it's located in c:\WINDOWS\system32\drivers\etc\) *significantly* speeds up the page load:

127.0.0.1 twitter.com
127.0.0.1 twitter.grader.com

This prevents you from accessing twitter, though.
March 30, 2009 at 22:41 | Unregistered CommenterAndreas Hofmann
Mike:

There is no Javascript involved with the connection to grader.com, so NoScript is no help. You have to modify your hosts file as described in my last post.
March 30, 2009 at 22:42 | Unregistered CommenterAndreas Hofmann
Andreas, You da man!

Thanks for that. I don't know why I forgot about the hosts file. DUH!
March 30, 2009 at 23:53 | Unregistered CommenterMike
I'm interested to know how widespread a problem this is. I've tested the page loading of this site with every browser that I have (Firefox, IE, Safari, Chrome) and I've found no problem with any of them.

I can't remember how long ago it was that I put the Twitter Update box on the site but it must have been nearly two weeks ago. So I would have expected there to be an almost immediate reaction that the site had got slower, rather than "the site is getting slower" after two weeks.

I also remember that there was a spate of people claiming slow page loading a month or so ago, which seemed to go away.

If the Twitter box does turn out to be causing major problems for more than a few people then I will remove it - but I don't want to do so unless it is the real culprit.
March 30, 2009 at 23:57 | Registered CommenterMark Forster
Mark:

I think there are several factors - as Christine pointed out, it's not a constant problem, the reaction time for the external connections keeps changing. I also think it depends on where you are. A speed test I started from an US server claimed that your amazon.co.uk inclusion was a lot worse than twitter.com/grader.com concerning load time. But for me here in Germany (probably Europe in general), amazon.co.uk is lightning fast, but the other two cause noticable delays.
March 31, 2009 at 0:03 | Unregistered CommenterAndreas Hofmann
Andreas:

It's an interesting problem. I'll give it a few days and see what happens. It seems to have only been bothering people quite recently. One of the people who has reported having a problem doesn't live very far from me - but I know that websites sometimes go slow for all sorts of strange reasons.
March 31, 2009 at 0:45 | Registered CommenterMark Forster
Hi Mark

Although the problem has been worse recently it did exist prior to twitter, although the page does state that twitter is still downloading on occasions. I wondered whether perhaps it coincided with Squarespace carrying out server maintenance? From memory I would say it is usually late evening (UK time). This evening it was really dire around 10:00pm but had cleared by around 11:00.

And welcome back - you've been missed!
March 31, 2009 at 1:01 | Unregistered CommenterChristine B
I haven't had any problems on Google Chrome.
March 31, 2009 at 7:21 | Unregistered CommenterWill
Hi Mark,

Good to see you back. I can report that your site was working well until a few days ago and then it was not just bad, it was a torment. I mean, 5 seconds plus to load a page. (Egad, what have we become that a 5 second wait is torment ;-)

Once I implemented Andras suggestions it is lightning fast. And I was able to notice that the culprit was Twitter and Grader.Twitter because loading was so slow that I could easily read the progress bar in FireFox.

The comments by Andreas and Christine make good sense as well. I know that my ISP dynamically assigns addresses so perhaps my routing changes from time to time. It could easily be a convergence of factors. But I can say that with Twitter now in my hosts file my browsing in other places has improved as well.

(Ah, I remember that I told Andreas that I wanted to go browsing for some recommendations on a populated hosts file so I would not have to keep updating it myself. One more thing for my AF list ;-)
March 31, 2009 at 10:29 | Unregistered CommenterMike
I would contemplate changing/disabling the sidebars, or at least a large portion of it on the forum pages alone. Not sure if it can be done with the software package that is being used. Having dynamic sidebars that adjust to the type of page you're on (blog/forum/article/frontpage) is better design. That way you can display just the information that is relevant to the page of the website.

March 31, 2009 at 10:36 | Unregistered CommenterPeter K
Another thing that would help would be to change the order of the columns in the source code. We discussed this already in the thread where reported the ie6 bug (which is still there by the way, Mark, do you need help with this?). The sidebars are loaded first, then the middle content column. This worses the situation if a sidebar ist sloggy. It would be better if the content showed up first. That would also solve the problem of people who come here with older PDAs (like Laurence in that thread: http://www.markforster.net/forum/post/674069
March 31, 2009 at 11:06 | Unregistered CommenterAndreas Hofmann
Some of that last may account for what I'm seeing when I go TO a thread. If I'm too fast hitting the END key (to get to the bottom) I see nothing on the screen but the sidebar. If I go back up I'll see a partially loaded center column which then loads a couple of seconds later.
March 31, 2009 at 11:33 | Unregistered CommenterMike
If you're using Firefox with the Adblock extension, another option is to add http://twitter.com/javascripts/blogger.js as a filter.

It still lets you access the AutoFocusTM link to twitter.com and the AutoFocus page seems to work OK.

Personally I find the Twitter stuff on the left intrusive, so wonder why I didn't block it before... :)

I think just a link to Twitter on the left would be fine.
April 1, 2009 at 16:22 | Unregistered Commentersmileypete