DEV Community

Justyna Ilczuk
Justyna Ilczuk

Posted on

Shooting yourself in a foot with django and recovering from it (speeding up the API 200x)

I've been working on my side project in Django and I couldn't not notice that it was taking JavaScript forever to load all the info from the backend API. It could even take 30s to fetch all the data (~150 records).
Super slow API calls
I generally hate when apps are slow and I needed to do something about. I described how I made it my faster by profiling and strategic optimizations. You can check out the post here.

Top comments (3)

Collapse
 
sloan profile image
Sloan the DEV Moderator

Hi there, we encourage authors to share their entire posts here on DEV, rather than mostly pointing to an external link. Doing so helps ensure that readers don’t have to jump around to too many different pages, and it helps focus the conversation right here in the comments section.

If you choose to do so, you also have the option to add a canonical URL directly to your post.

Collapse
 
defman profile image
Sergey Kislyakov

Please have a look at the Terms of Use for DEV, Section 11: dev.to/terms

Posts must contain substantial content β€” they may not merely reference an external link that contains the full post.

Collapse
 
ilonajulczuk profile image
Justyna Ilczuk

Cool, good to know! I will follow that next time!