Optimize queries made by the catalog courses endpoint
filter() and exclude() calls made to narrow the set of course runs after prefetching were causing prefetched data to be discarded. This resulted in the endpoint making many duplicate queries. These expensive duplicate queries are eliminated by prefetching the filtered set of course runs instead of prefetching all course runs and then trying to filter them. ECOM-6473
Showing
Please
register
or
sign in
to comment