feat: added compression to resume data cache using deflate (#73227)
Previously the resume data cache was simply a JSON encoded string. This
adds deflate compression to it to help reduce the bandwidth between the
edge and the file system.
---------
Co-authored-by: Janka Uryga <lolzatu2@gmail.com>