Hi guys! So my question goes like this:
I have a multi-page app, and till now I have used to create the whole page from scratch each time
my URL changed by calling a function that creates the page.
another way is to store the page in a Global variable and pass the variable content instead of creating everything from scratch, but that creates a problem.
Let’s say I have my app deployed on openshift, the moment the global variable was created the data inside it will NEVER change.
And my goal is to have an app that only updates the data if the user refreshes the page by doing f5 or just opening the app.
I thought about storing the page in a dcc.store, the problem is that well I can’t cause it’s not a dictionary or a string or anything the store accepts, it’s a bunch of HTML elements.
Does anyone have an idea how I can achieve this?
hopefully, I explained everything well if not please do say so I will gladly elaborate the question.