XF 1.3 Do having lots of route filters affect performance?

imthebest

Well-known member
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?

Thanks,
Super120
 
I would not expect a noticeable difference.

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

Code:
$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).
 
Back
Top Bottom