I am developing client part of web application. So i have some controls like grid, image gallery and so on. All data i receive throught AJAX requests. Is it good idea to cache already received data? i’m afraid that if grid have thousands rows it could eat users RAM and my application will be slow. What is good practice?
Share
The HTTP Protocol has already a system to cache data.
It’s not necessary to use a cache in javascript for data received from an ajax request, just you need to use correctly the HTTP Cache.