includes compression for localstorage limit