3 ms·
Nothing really specific to Django you can do. I guess you can disable USE_I18N and USE_I18N settings if you're not using them and disable middleware and context
by amccloud 16y ago
Nothing really specific to Django you can do. I guess you can disable USE_I18N and USE_I18N settings if you're not using them and disable middleware and context processors you're not using.
Other then that:
- Cache everything you can. (orm/query cache, template cache, proxy cache)
- Optimize queries you can't cache. (use django-debug-toolbar, django-devserver, or enable slow query logging in mysql to view them)
- If you have lots of joins, denormalize your model fields.
- Use queues and cron jobs for long running processes.
- Offload media to another server like s3.
- Add ram.