Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-12-28 21:12:41

mrjerz
Member
From: nevada
Registered: 2004-04-07
Posts: 10
Website

Comments slowing individual page loads

Hope somebody knows what’s happening here. Whenever I enable comments to the site I’m developing, it slows down the individual pageloads tremendously. It appears that it is calling the database for comments, of which there currently are none, before loading the page. When comments are off for a post, the loading is snappy.

I have tried removing parts of the comment form such as the help and remember checkbox, but there is no difference. This is happening on a site I am building locally and a site that is running on a remote web server.

Any ideas on how to improve performance are greatly appreciated.


I amaze myself with my inability to grasp simple concepts.

Offline

#2 2007-12-28 21:16:24

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Comments slowing individual page loads

go to your admin preferences and remove the spam blacklist url (sbl.spamhaus.org). that place seems to be hiccuping a lot.

Last edited by iblastoff (2007-12-28 21:17:00)

Offline

#3 2007-12-28 21:18:24

mrjerz
Member
From: nevada
Registered: 2004-04-07
Posts: 10
Website

Re: Comments slowing individual page loads

That did it. Thanks so much.


I amaze myself with my inability to grasp simple concepts.

Offline

#4 2007-12-28 21:23:32

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Comments slowing individual page loads

Maybe this should be a FAQ. Quite a lot of posts about it…

Offline

#5 2007-12-29 18:27:33

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: Comments slowing individual page loads

FAQ

Any other details that should be there?

By the way, anyone know why this is happening, as I’ve seen it on some non-Joyent (TextDrive) servers?

Offline

#6 2007-12-29 19:39:20

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: Comments slowing individual page loads

Perhaps because TXP appears to be doing a denial of service attack by querying the blacklists on each visit to a page that contains a comment form, even if no-one is actually trying to submit a comment :)

Might be a good idea to check the blacklist only right before saving the comment or remove the entire blacklist check, because I somehow doubt that using an blacklist aimed at fighting email spam helps to fight comment spam.

Offline

Board footer

Powered by FluxBB