Slow Requests on Django Ubuntu Server

Posted December 8, 2021 141 views

Hey everyone - I’m new to just about all of this, but I finally have my new Django website up in running in an ubuntu server. The only weird thing is that sometimes it won’t load a page until I click the same button (to redirect me to a the new page) twice. I don’t really understand what’s going on and was wondering if anyone might have some insight. I’m also using Nginx not sure if that matters or not.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @jacobgerow88,

Is this behavior seen sometimes or all the time? It matters because the issue will be different depending on the answer.

Having said that, in both cases it won’t be related to Nginx but rather to either your code or load on the Droplet.

  • Thanks so much for the response!
    It doesn’t seem like it’s all the time although it is quite frequent. When it is happening I can click on 2-3 thing before one doesn’t work. It doesn’t happen at all when I host it locally either.