This allows the plugin to get the data faster while the cache update continues in the background.
Then, before a GET, read the metadata and add any etag to the headers and handle 304 in response.
Split out big lib.rs into separate modules for each endpoint. Now using FFIResult in all functions requesting the API. Added unit tests for all functions. Abstracted file caching behavior into cache.rs. Uses temp files in tests