Using Memcached to cache Django views

Django provides a possibility to speed up the request-response cycle by caching the most expensive parts such as database queries or template rendering. The fastest and most reliable caching natively supported by Django is the memory-based cache server Memcached. In this recipe, you will learn how to use Memcached to cache a view for the viral_videos app, created in the Using database query expressions recipe in Chapter 11, Bells and Whistles.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.144.116.159