PROGRAMING
Caching used for develop optimized and fast loading applications. Sometimes need to work with same data with application. Most of the times data are have store in database. So for same data need to call database multiple times. Using caching we can solve n+1 query problem.
Session store data in server and life time is till browser tab close.
Cookie store data in browser end and life time is specific time.
Read what excites, achieves and moves us Read what excites, achieves and moves us