Is there a way to memoize the output of a function to disk?
I have a function
def getHtmlOfUrl(url): ... # expensive computation
Check out joblib.Memory. It's a library for doing exactly that.