Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Why is Textpattern faster than another CMS?
It’s been a while since I’ve been on theses forums. However, I have an issue;-) But it’s not an issue with Textpattern. Rather, the opposite.
I have a client who is on a Textpattern based site:
http://www.cityhelse.dk
And then I have this concrete5 test install:
http://c5.webmatros.dk
The Textpattern site always loads and feels a lot faster than my other CMS sites based on WordPress and in the example above, concrete5.
When I run those sites through f.e. tools.pingdom.com or www.webpagetest.org the Textpattern based site begins loading much faster, and very consistently. To clarify, I mean that the first bar, the time before anything is loaded is much shorter on the Textpattern site.
But why is that? I’ve been trying to figure out what it is that makes the Textpattern site faster, even though the site http://c5.webmatros.dk scores an A rating in ySlow and only requests a handful files…
Needless to say, they’re both hosted on the same server.
???
I’d be grateful if you could enlighten me a little on this curiosity;-) Is it because the database structure in Txp is more efficient maybe?
Have a nice sunday.
Last edited by raveoli (2011-01-30 12:39:04)
Offline
Re: Why is Textpattern faster than another CMS?
raveoli wrote:
I’ve been trying to figure out what it is that makes the Textpattern site faster, even though the site http://c5.webmatros.dk scores an A rating in ySlow and only requests a handful files…
Nearly all of the YSlow performance rules pertain to decisions made by the site designer, not the absolute performance of Txp itself, nor of most CMSs. It’s certainly possible to create a slow Txp site.
You’re right to point to database structure. Txp does a relatively small number of queries (compared to many CMSs), and very few of these queries involve joins or sub-queries. Query efficiency is typically a major performance factor, especially on most shared hosting setups. Txp core code is also pretty efficient overall.
Note that this efficiency involves a trade-off with features. Popular requests such as unlimited categories, sub-sections, public-side theming — each of these things has a performance cost.
Code is topiary
Offline
Re: Why is Textpattern faster than another CMS?
Thanks for the clear reply Jeff.
So, conclusion: Textpattern is simply the leanest and meanest CMS;-)
Offline
Re: Why is Textpattern faster than another CMS?
A small additional question:
Is the non-flat-file templates of Textpattern a contributing factor to the speed? Does a flat-file theming system like the one WordPress has slow down execution of the theme?
Offline
Re: Why is Textpattern faster than another CMS?
There’s not a short answer to that one; it depends on the server setup.
Code is topiary
Offline