Everything You Need to Know About Caching in Django
Caching is essential for high-performance web apps; luckily, Python and Django provide excellent tools to help. In this article, Muhammed Ali walks through some popular caching techniques.
Caching is essential for high-performance web apps; luckily, Python and Django provide excellent tools to help. In this article, Muhammed Ali walks through some popular caching techniques.
Flask and Django are two of the most popular Python packages. More importantly, they are the two most preferred web frameworks you can use with the language. Both frameworks are open-source and offer excellent APIs for developers to build robust Python web applications. While both frameworks serve the same purpose, they take two philosophically opposed routes to achieve it.
The N+1 Queries Problem is a perennial database performance issue. It affects many ORM’s and custom SQL code, and Django’s ORM is not immune either. In this post, we’ll examine what the N+1 Queries Problem looks like in Django, some tools for fixing it, and most importantly some tools for detecting it. Naturally, Scout is one of those tools, with its built-in N+1 Insights tool.