Hello everyone. I’m currently working on an app for searching through World of Warcraft items based on their stats. So far I’m able to access the data using standard pub/sub and display it in a table. This data is going to be static and is only a couple MB in size, and I was wondering if there was a better way to get my data for querying in the client that avoids pub/sub completely, as I don’t need any sort of reactivity or ability to edit the data, and from what I’ve seen pub/sub would just be using extra resources on the server.
Ultimately, I’d like to have it so that when the user first visits the site, they can get a copy of the collection in in-browser storage, and then do all their queries against that local copy once it’s loaded into memory. If they already have a copy of the data and it is out of date for some reason (if I need to fix some incorrect values early on), I’d like it to update their local copy.
I hate the feeling that I’m over-engineering things. Any input is greatly appreciated.