title: Angular - Compress string for IndexedDB or LocalStorage
body: <p>I need to find a way to compress big string value coming from webapi calls and store them into IndexedDB or LocalStorage...</p>
  
  <p>I only need to store one single response that is about 5MB of size.</p>
  
  <p>Question is:</p>
  
  <p>Is there a way to compress string with typescript/angular using some kind of thirt part component?</p>
  
  <p>And second question is: its better to use localstorage or IndexedDB for this kind of scenario?</p>
  
  <p>Thanks to support</p>