I'm not sure if this is possible, I'm assuming something like this is. I've got a couple of JSON files containing a series of JSON objects, each with a unique ID. I'd like to be able to use a Node application to read these objects and return all of the objects with an ID greater than a parameter provided.
ie. /after/20 would return all of the JSON objects from the file whose ID is greater than 20.
These requests will be happening very frequently, by lots of different users. Therefore, I was wondering if there is a way to store or cache these files in some way which means they don't need to be repeatedly loaded. Therefore making the process both quicker and more efficient.