Skip compression when using "cache store"

Hello,

Let’s suppose i want to cache a compressed file. Is there a way to skip automatic compression when uisng “cache store” ? I would want to skip the decompression as well with cache restore.

Thanks,

Hi @benoitdambreville

This automatic step can’t be skipped when using the cache mechanism. Compression and decompression are fundamental parts of the cache mechanism.

It might not be noticeable when caching only one file but when caching multiple files by caching a folder this is crucial so all files are stored with the same key name. If this step wasn’t mandatory, then you could potentially end up having to create a separate key for individual files.

I hope this helps.

Best regards,

I understand.

Thanks for the quick answer !

Regards,