Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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
Offline
Re: New site on 4.0.6: individual articles very slow to load
That helped!! What is that for an issue???
Thanks!
Offline
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
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
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
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
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
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
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
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
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