By abratus
Hello, I have a Django web site on Ubuntu droplet and its response time varies from 300 to 200 ms. This is not bad but not enough for good ranking in search engines. I tried 2 times to switch to droplets with better performences but had no change in TTFB at all. Can someone recommend some ways in server or nginx settings which will help for Django web site ? Thanks in advance !!!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
First, 200-300 seconds is very fast. I don’t really see many problems with that, but if you really need to increase the speed, try using installing the django-debug extension/module. It will give you some insights on what’s happening on each request, the SQL queries performed, and such. You can look at that to figure out problems that are making it slower than you expected it to and make it faster.
Also, try caching with something like Redis or Memcached, Django’s default cache system is quite good in this regard.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.