Persistent caching for Emacs