Good evening,
I am currently running a website. On my website, when one of the user's clicks on a link, HTML is stored in local storage for that user and the link opens up in a new tab, and grabs the HTML that is stored in local storage, to render the page on the new tab. The issue is that, If the user sends the URL to someone else, the person who received that URL, will not be able to view the page, because the HTML for the page is stored in the local storage for the first user. What is the best way to fix this, so that the User who recieves the URL can view the webpage?
What i can think of right now is instead of using local storage, making an API call that sends back the HTML when a user visits the link.