I am writing a program that downloads a large file (~ 150 MB) and analyzes the data into a more convenient text file. The loading process and especially the parsing is slow (~ 20 minutes), so I would like to cache the result.
The download result is a bunch of files, and the parsing result is a single file, so I can manually check if these files exist, and if so, check their changed time; however, since I am already using dogpile with the redis backis server to call web services elsewhere in the code, I was wondering if this dog can be used for this?
So my question is: can dogpile be used to cache a file based on its modified time?
source share