Django - cache process and different types of caching

When a page is requested in a web application several process should be performed in the backend to bring the page to the requester. The process could be of hitting database queries, calling templates, performing several calculations etc. performing these operations from scratch for every page call may become expensive for sites with heavy traffic. One way to tackle this is through setting cache system. The cache system will save the outcome of a expensive operation so that the calculation can be omitted next instance.

There are several ways through which cache can be set up in django they are as below,

1) Database cache

2) Memcached

3) Filesytemcaching

4) Local Memory cache

5) Dummy Cache