I am very unfamiliar with how caching works, and so I was wondering how I could pull a csv off a server the first time, but on subsequent refreshes use a cached csv file?
I know how to get the file from the server, and parse it via PapaParse. However, I do not know how to make that csv cached, or even how to access the cache via PapaParse.
Going further with this, how could I then check how long ago this csv file has been updated, and if it needs to be updated pull the csv off the server again? I understand there is a lastModified property in Javascript but it is unclear whether or not that works for cached files.