Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-03-03 10:17:55

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

New site on 4.0.6: individual articles very slow to load

Hi readers,

Just created a new site. Although individual section pages load quite fast, the individual articles, when called, load very slow (+10s).

What could be wrong here?

This is what calls the articles:

<div id=“center”>

<txp:article />
<txp:if_individual_article>
<p>

</p>
</txp:if_individual_article>
<txp:if_article_list>
<p>
<txp:older>Previous</txp:older>
<txp:newer>Next</txp:newer>
</p>
</txp:if_article_list>

</div>

Thanks!

Cheers,
Marcel

Offline

#2 2008-03-03 10:49:09

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: New site on 4.0.6: individual articles very slow to load

Try to empty contents of Spam blacklists (comma-separated) option in Textpattern / Admin / Preferences / Advanced. Just empty the input field.

Hope it helps.

Last edited by Gocom (2008-03-03 10:50:05)

Offline

#3 2008-03-03 10:55:49

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

Re: New site on 4.0.6: individual articles very slow to load

That helped!! What is that for an issue???

Thanks!

Offline

#4 2008-03-03 11:01:42

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: New site on 4.0.6: individual articles very slow to load

Because it is connecting to an external site and you can’t know how slow or fast that site is working particularly as this specific one is getting a lot of hits.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#5 2008-03-03 11:57:33

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

Re: New site on 4.0.6: individual articles very slow to load

It’s because the request to blacklist DNS fails and after a specific timeout, your webserver simply gives up and continues. That’s the 10 second delay. Most commonly seen on Textdrive servers.

Offline

#6 2008-03-03 12:52:32

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

Re: New site on 4.0.6: individual articles very slow to load

Ok, it that going to be solved once moved to Joyent?

And something else: after this tweak to the Spamhouse field, what else could one do to optimise the speed of TxP displaying pages? Of course I understand that being in NL doesn’t help the situation very much.

Is it in:
+ image sizes?
+ css file size?
+ limiting the use of plugins?
+ ….some other internal TxP settings?
+ ….

If you know any tips, could you please help me out?

Thanks.

Cheers,
marcel

Offline

#7 2008-03-03 13:08:56

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: New site on 4.0.6: individual articles very slow to load

Ruud’s own rvm_css plug-in is a good start.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#8 2008-03-03 14:17:21

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

Re: New site on 4.0.6: individual articles very slow to load

Using an opcode cache like xcache or APC can give nice speed improvements as well (I’ve measured a 3x speed up for the default TXP homepage on a fresh install).

Offline

#9 2008-03-03 14:58:13

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

Re: New site on 4.0.6: individual articles very slow to load

@Ruud

1. Your docs for that plugin says something about “Style directory” in admin. Where can I find that in 4.0.6?

2. Is setting up xcache or APC doable for a newbie like me on TextDrive (still on old stuff)?

By the way, where do you host websites that should have a Dutch audience? In NL or elsewhere or don’t you care?

Thanks.

Last edited by zeeforel (2008-03-03 16:15:08)

Offline

#10 2008-03-03 17:28:18

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: New site on 4.0.6: individual articles very slow to load

1 – it’s the second box down in “Advanced Preferences” which you will find under the “Admin” tab.


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#11 2008-03-03 19:30:17

zeeforel
Member
From: Nieuwerkerk a/d IJssel, NL
Registered: 2004-10-16
Posts: 92
Website

Re: New site on 4.0.6: individual articles very slow to load

Stuart,

Ruud’s docs say “Visit the advanced preferences and make sure the “Style directory” preference contains the directory you created in step 2. This path is always a relative path (to the directory of your root textpattern installation).”

Shouldn’t that be “File directory” then? I have got a path my files there: /users/home/username/domains/sitename.nl/web/public/files

Should I give up on that file loading path then and substitute it with something for the css files? Or can the css files just go in the files directory?

Thanks.

Offline

#12 2008-03-03 19:48:27

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

Re: New site on 4.0.6: individual articles very slow to load

It should be a relative directory like “css”, because that makes it possible to use it both in an URL (http://yourdomain.com/css) and in a file path (/path/to/your/domain/css). It’s similar to the images directory. Note that the plugin doesn’t create the directory, so if you set it to “css”, then you should create a directory “css” alongside the images directory.

Offline

Board footer

Powered by FluxBB