There's no workaround. Storage quota is a hard limit. However, for binary data I would recommend IndexedDB instead of localStorage, for several reasons: You can save binary data directly (no need to convert to base64), which saves 33% of quota. This also helps to get rid of the performance overhead of conversion. According to a test, in some browsers (e.g. Firefox), IndexedDB have more storage quota compared to localStorage. IndexedDB provides an asynchronous API, which is important when you read a big chunk of data that takes time.
There's no workaround. Storage quota is a hard limit.
However, for binary data I would recommend IndexedDB instead of
localStorage
, for several reasons:localStorage
.