ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

"Disable" parameters on weblogs boost performance

July 02, 2008 2:10pm

Subscribe [3]
  • #1 / Jul 02, 2008 2:10pm

    lebisol

    2234 posts

    Hello people,
    While using “disable” parameters helps with queries and processing time I was curious if they are a needed/of use if certain features were disabled on weblog preferences level.
    eg.
    -myweblog = do not use trackbacks

    then

    {exp:weblog:entries weblog="myweblog" dynamic="off" disable="trackbacks"}

    would this ‘trackback’ parameter then even make any difference with respect to processing performance of the query?
    Thanks for sharing!

  • #2 / Jul 02, 2008 2:36pm

    Ingmar

    29245 posts

    I believe it would still query for them, yes. I suggest to always add this parameter, as it really doesn’t hurt, and there are a number of options which certainly cannot be disabled any other way.

  • #3 / Jul 02, 2008 2:59pm

    lebisol

    2234 posts

    Thanks Ingmar!
    Every bit of performance helps and being aware of this helps build good habits, so thanks for the answer!
    All the best!

  • #4 / Jul 03, 2008 3:45pm

    Brian M.

    529 posts

    The disable parameter is your best friend when coming to easy performance gains. I had a moderately sized site that didn’t use it and just by going back through and putting in relevant disable parameters in my weblog tags it probably easily doubled performance. That and not using complex if/then statements were too big ones for this site.

  • #5 / Jul 03, 2008 5:51pm

    lebisol

    2234 posts

    Thanks Brian,
    I figured there was room for improvement.
    Sort of SELECT * vs. SELECT x,y,z
    Thanks! 😜

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases