On my MVC spring application I send a form to a page using GET method to perform a search. The results of the search is a list and, for every entry is possible to navigate to a details page. It works fine. Now, I want to have a back button on the detail page which should take back to the searched list.
I can call the same controller method to reevaluate but it performs Data Base calls, which I don't want to do. What is the best solution?