title: how to achieve faster tfidfvectorizer loading times from within a django view?
body: <p>I have a fitted <code>TfidfVectorizer</code> with ~120,000 features which I save to file using <code>joblib.dump</code>. I later load that model, from within a django view, using <code>joblib.load</code> but it is too slow (takes ~2 seconds). What is the best way to improve the loading speed? Should I cache the model using django's caching framework? Should I compress the model when serializing with <code>joblib.dump</code>? Is there a way to load the model into memory once and keep it there rather than reloading it each time the view is called?</p>