I am developing a website using Spring MVC. I have a form where I ask user for his website's URL. I need to show him the screenshot of the website after he enters its URL.
Should I generate the image at the backend or the frontend?
I do need to show the image to the user on his dashboard. I can't decide if I should generate it each time or store it at the backend. Storing at the backend will be better for performance whereas generating it everytime will show the current screenshot to the user.