1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 Do having lots of route filters affect performance?

Discussion in 'XenForo Questions and Support' started by imthebest, Aug 4, 2014.

  1. imthebest

    imthebest Formerly Super120

    Until today I had only 10 route filters and load speed of my pages was smooth. I have just added 7 more route filters, so now I have 17 in total and I feel that when loading threads and forums there is an additional 1 second to load any page! Is this possible? Can route filters degrade performance?

    Or maybe it's because I have these:

    threads/ > topics/
    threads/{title}/add-reply > topics/{title}/publish
    threads/{title}/page-{num:digit} > topics/{title}/chapter-{num:digit}

    Are these conflicting? Will these ones {especially those with a variable parameter} affect performance?

  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I would not expect a noticeable difference.

    Add this line to the library/config.php file:

    $config['debug'] = 1;
    That will add load stats to the bottom of your forum pages. This tells you exactly how long it takes to generate the page on the server side. It also gives you query times. All things being relative... if these load stats show load times greater than .1 or .2 seconds then you may have a problem. But if the times are low and the page still feels slow then it might be a client problem like a slow internet connection (the forum is fast but you are slow).
    imthebest likes this.

Share This Page