Hi, I am building a site using Grav with Firebase and it is awesome. However, I am saving state information between users and specific pages, for which I am passing the uid of certain pages to the database. I noticed that when I did a full cache delete, the uids of those pages changed and my database started getting messed up. More specifically, if a user has marked a page as 'read' then that page gets a tick next to it and that tick will return next time the user logs in as well.
I am wondering if someone can enlighten me about the immutability of page uids. Will they be different every time the site is generated? Will they be different on different browsers, clients, computers? Will they change every time I flush the cache? Is my design pattern a terrible idea? (In comparison with WordPress, the page uids do not change at all and so this is not a concern.)