David Ormsbee
2cb2265ffe
Add request caching to reduce ORM queries
...
This adds request caching to the following places:
* course expiration wrapper (displayed in Units)
* offer banner generation (displayed in Units)
* get_enrollment
* user_by_anonymous_id
* youtube_disabled_for_course
On a sample course with edx-val enabled, this reduced the queries
for a large sequence from 450 to 155.
2019-12-30 16:19:25 -05:00
..
2019-12-30 12:25:38 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 16:19:25 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 16:19:25 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 16:19:25 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:13:42 -05:00
2019-12-30 16:19:25 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 12:25:38 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 13:32:26 -05:00
2019-12-30 10:35:30 -05:00
2019-12-30 13:32:26 -05:00
2019-06-21 16:39:24 +05:00