- 30 May, 2017 1 commit
-
-
Andy Armstrong committed
-
- 10 May, 2017 1 commit
-
-
This reverts commit 5388d5d1.
Nimisha Asthagiri committed
-
- 09 May, 2017 2 commits
-
-
This reverts commit 16e96365.
Sanford Student committed -
Nimisha Asthagiri committed
-
- 18 Apr, 2017 1 commit
-
-
Omar Al-Ithawi committed
-
- 27 Feb, 2017 1 commit
-
-
Nimisha Asthagiri committed
-
- 18 Oct, 2016 1 commit
-
-
Firstly, we're now explicitly instructing the comments service to not return thread responses/comments if the request isn't AJAX. So, if you load the URL for a single discussion thread in your browser, this would be a non-AJAX call and we'll avoid loading the responses for the entire thread behind-the-scenes. Big win here for large threads. Next, we removed a redundant "get threads" call which was also happening behind-the-scenes. This call was redundant as the front-end JS also grabs the thread list when a topic is chosen, so we were making an extranenous call for no benefit. Poof, gone! Finally, we added some caching of database queries that are required to drive a lot of the permissions/cohorts machinery around discussion. This will have a minimal effect but introduced a cleaner way to apply general memoization at the per-request level which will let us further cache things as we identify them as issues.
Toby Lawrence committed
-
- 09 Jun, 2016 1 commit
-
-
Calen Pennington committed
-
- 08 Jun, 2016 1 commit
-
-
Calen Pennington committed
-
- 20 Jul, 2015 1 commit
-
-
Calen Pennington committed
-
- 15 Jun, 2015 1 commit
-
-
Calen Pennington committed
-
- 21 May, 2015 1 commit
-
-
XCOM-306
jsa committed
-
- 10 Nov, 2014 3 commits
- 28 Mar, 2013 1 commit
-
-
use a request-scoped cache to keep the metadata inheritence tree around for the whole request. This means we should only do one trip to Memcached/Mongo per course per request. This is expected to keep memory utilization down
Chris Dodge committed
-