Optimized caching and autoSaving to indexedDB which improves performance overall, new build