O'Reilly logo

Learning Django Web Development by Ratan Kumar, Sanjeev Jaiswal

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Caching – improving the performance of your site during high traffic

Pages of web applications are dynamically generated. Code is executed to process user input and generate output every time a page is requested. There are a lot of overheads involved in generating dynamic pages, especially when compared to serving static HTML files. The code may connect to a database, perform expensive calculations, process files, and so on. At the same time, being able to generate pages with code is exactly what makes a website dynamic and interactive.

Wouldn't it be great if we could get the best of both worlds? This is what caching does, and it's a feature that is implemented on most the sites with medium to high traffic. When a page is requested, caching stores ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required