Optimization Login loading

Hello everyone,

I am experiencing an issue related to optimization. When a user has a large number of registered courses, it takes about 5-7 seconds to load completely after logging in. How can I address this loading issue?

@Ng_c_S_n_Tr_n, you can add DASHBOARD_COURSE_LIMIT to your platform’s Django settings. This way, the student dashboard will be paginated.

  1. If you use devstack, you can put it in the lms/envs/private.py.
  2. If you use Ansible, you can add this to EDXAPP_LMS_ENV_EXTRA.
  3. If you use Tutor, you can find the relevant docs about this here.

If it’s still slow after this change, it’s possible that the course images are quite heavy. You can consider enabling a CDN for Course Assets.