Currently working on a Spring MVC website project, I have implemented a form requesting the user's website URL. Once entered, I aim to display a screenshot of the specified website for the user to view.
Contemplating whether to generate the image on the backend or frontend.
Essential to show the website image on the user's dashboard, there is uncertainty regarding whether to produce it dynamically each time or store it within the backend database. While saving it in the backend may benefit performance, generating it live would provide the most up-to-date information to the user.