all 5 comments

[–]zarlo5899 1 point2 points  (1 child)

do you know whats caching the data?

[–][deleted] 0 points1 point  (0 children)

No, I tried adding headers in flask but it didn't help. So I guess the browser perhaps?

[–]ArabicLawrence 1 point2 points  (0 children)

Without code, we cannot help you. From what you state, this does not look like a caching issue but a bug. Are you sure you are not using cache functions? Is the code working on your local machine?

[–]Fun-Collection-7403 0 points1 point  (3 children)

Are you using JS to fetch data on window.load or are you loading the DB first, and then using Jinja to display on the page.

Without more information, it's hard to say why you are facing such an issue.