Caching | Best Practices | Networking Performance
Caching is the process that allows you to avoid any sort of processing while serving the response via previously calculated response considering it still valid.
Caching can be implemented in various scenarios, though the kind of caches usually implemented on the server side are listed as follows:
Following are the different types of Caches:
Server Side Caching
- Proxy Cache, it sits before your application server to avoid any request processing (e.g. Varnish)
Client Side Caching
- Browser Cache: Leveraging browser’s cache for storing static assets is very important to keep the page refresh time to its minimum.
- basket.js A script loader that caches scripts with localStorage.