
LostCoder
User
Nov 27, 2006, 5:33 PM
Post #1 of 4
(724 views)
Shortcut
|
|
Server Timeouts during publishing -- Lots of TemplateIfs being processed
|
Can't Post
|
|
Hello, My server never timed out during normal publishing, but tonight I began adding a ton of templateIf statements.. Probably in the area of 300 or so on the template (and still counting). The publish time has gone up signidicantly, which i assume is due to the fact that AM has a ton of variables to look at. I have no prob with waiting for it to publish everything. [Note* -- i have turned off all publish rules and am publishing only the 'Article Pages (main article detail pages)' rule when i publish] In any case, the server is now timing out pretty often while i try to publish. My initial question is: Is it the 300 templateIf statements that are causing this? Or could it be that my server sucks and I need more power? My next question is: Is it possible to use multi variable TemplateIf's? Right now i am basically saying "If the category is x, do Y" and i do this for each category. Can i do something like this: "If the category is x,x1,x2,x3,x4, do Y" ? <-- while this might help, i will still have a ton of TemplateIfs.. Last question: will switching to SQL DB make it less likely to timeout during publishing? Any suggestions would be appreciated. Thanks! LC
|