This week's book giveaways are in the Jython/Python and Object-Oriented programming forums. We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line! See this thread and this one for details.
I have a web page which is having 4 tabs. The first tab is shown default on the load of the page. When the user clicks on the 2nd tab the data relevent to the second tab is retrieved from Database and displayed. The same happens when you move to 3rd and 4th tab for the first time.
If the user goes back to any tab which is already viewed by this user, I dont want to query it again from the Database. Instead we need to retrive the previous retrived results.
What is the best way to do it? Is there any caching mechanism to achive this.