From b4b9ed1841f5f3dac314fbcdc93053a70a72bc9b Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 9 Mar 2014 00:16:05 -0500 Subject: [PATCH] optimized getTopicsByTids, single db call to get topicData, added cache for privilege/category/user data --- public/templates/category.tpl | 4 +- public/templates/popular.tpl | 4 +- public/templates/recent.tpl | 4 +- public/templates/unread.tpl | 4 +- src/topics.js | 129 +++++++++++++++++++++------------- 5 files changed, 88 insertions(+), 57 deletions(-) diff --git a/public/templates/category.tpl b/public/templates/category.tpl index f1b6a9c365..03a40c51b7 100644 --- a/public/templates/category.tpl +++ b/public/templates/category.tpl @@ -48,8 +48,8 @@ todo: fix this nesting if issue#1065 is a win todo: add a check for config.allowTopicsThumbnail if issue#1066 is a win --> - - + +

diff --git a/public/templates/popular.tpl b/public/templates/popular.tpl index 2ead0b6b08..912d2ea6e7 100644 --- a/public/templates/popular.tpl +++ b/public/templates/popular.tpl @@ -26,8 +26,8 @@