ecommerce
ecommerce copied to clipboard
EG-43: Cache catalog query contains call
This PR will cache the response from CatalogQueryContainsViewSet from the course-discovery IDA.
https://openedx.atlassian.net/browse/EG-43
https://rpm.newrelic.com/accounts/88178/key_transactions/35300/x_rays/4669#id=75ca5033-f190-11e8-8af5-0242ac11000a_36532_39981&tab-detail_75ca5033-f190-11e8-8af5-0242ac11000a_36532_39981=database_queries
Closing PR. Looks like my cache isn't working because there is a different cache thats working correctly.
https://github.com/edx/ecommerce/blob/master/ecommerce/extensions/offer/models.py#L63
@robrap This PR might still be relevant. I think there's something weird with the current way this caching works today.