alltherooms / cached-request

Node.js module to perform HTTP requests with caching support
MIT License
61 stars 23 forks source link

added gzipResponse option to enable/disable storing of responses as g… #16

Open timbowhite opened 8 years ago

timbowhite commented 8 years ago

Hi thanks for this module, it's pretty nice. I added a new option called gzipResponse which allows the user to disable the automatic gzipping of downloaded files. It also stores an extra flag called _gzipResponse in each header file that indicates if the cached file itself is gzipped.

UXVirtual commented 8 years ago

+1 I'd love to see this merged in as it'd be great to be able to turn off the gzipped storage of cached data on disk for debugging purposes.

elhoyos commented 5 years ago

@timbowhite I'm deeply sorry for not adding this idea. @UXVirtual gives a very good use case for it.

Is it possible that you can update it to the latest version? or if you prefer, you can give me access to your fork to update it together.