Follow us on: facebook twitter linkedin

PROGRAMING

Caching in programming

Post by : John Deo
Post date: 2025-04-06 10:23:38

Read time : 2 minute
Total views: 80 times
hero-img

Whats caching?

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.

 

Few caching mechanism

  1. Session
  2. Cookie

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.

Share by:

Keep exploring

Read what excites, achieves and moves us Read what excites, achieves and moves us