Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-10-09 14:54:23

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Question regarding performances

I have one question today for you guys and girls. :)

I am in the process of making a website on TXP and it will have just one template – all of the pages’ layout will remain the same throughout the sections, only the content should change. For example: when you are viewing the blog section – the sidebar will show latest 10 posts, but when you are viewing some of the “static” sections, sidebar’s content varies from section to section.

For that purpouse I am currently using if_section conditionals – otherwise I’d have to make double figured number of practically the same templates (pages). My concern is if I use too much of if_section stuff will it affect page load times and server load?

Thanks in front!

Offline

#2 2006-10-09 14:58:14

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: Question regarding performances


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2006-10-09 15:02:26

draganbabic
Member
From: Novi Sad, Serbia
Registered: 2006-09-27
Posts: 118
Website

Re: Question regarding performances

Thanks maniqui! That has cleared some things up for me. I guess I won’t have nothing to worry about after all.

Offline

#4 2006-10-09 15:13:26

Sencer
Archived Developer
From: cgn, de
Registered: 2004-03-23
Posts: 1,803
Website

Re: Question regarding performances

My concern is if I use too much of if_section stuff will it affect page load times and server load?

No, you don’t need to worry. The difference will be lost in noise (i.e., not measurable).

You can always try out simple things like this and watch the debugging output in testing and debugging production status to gather some rough numbers:
http://textpattern.com/faq/136/diagnosing-performance-problems

edit: ugh, I am slow – that’s what you get for working with many tabs…

Last edited by Sencer (2006-10-09 15:33:36)

Offline

Board footer

Powered by FluxBB