What is caching?
What is caching?
Caching: temporary storing of data which is used often to reduce the need to repeatedly request it from the same server or database.
It enhances website performance, decreases server load and improves the user experience.
Example:
Images, CSS, JavaScript files, or API responses can be cached in the user’s browser when they visit a website. A subsequent visit by the user will cause the browser to preload those resources the next time the user visits.
Common types of caching:
- Browser Caching
- Server-Side Caching
- Database Caching
- CDN Caching
- API Response Caching
Abarna Vijayarathinam Asked question
