I have a html div
(containts placeholder text) that I'm editing via JS everytime the page loads (to the same updated content most of the time).
This data is pulled from the server.
Is there a way to cache this content in the browser so that when the page loads, the cached content is shown, and then update it when the server call is completed (most likely, this will be the exact same content, so the delay won't be noticeable to the user).
The goal here is to reduce the delay between placeholder text and real content from the server.
EDIT: I don't have a backend. Everything here is client side.