whitenoise icon indicating copy to clipboard operation
whitenoise copied to clipboard

Skip compression of already compressed files

Open PetrDlouhy opened this issue 2 years ago • 3 comments

New take on #296

PetrDlouhy avatar Feb 02 '22 10:02 PetrDlouhy

@evansd Any updates on this?

lapinvert avatar Sep 05 '23 22:09 lapinvert

@lapinvert @adamchainz I have rebased this to the current main, but I am not sure if there is interest in getting this merged. I expect that skipping already generated files (named with MD5 sums) would be only beneficial and speed things up for most people. But I can make this configurable (as default or non-default).

Also this would be very easily achieved when #354 is merged by simple Compressor override.

PetrDlouhy avatar Feb 22 '24 08:02 PetrDlouhy

To me it sounds a no-brainer feature to have. For projects with many static files it makes a huge difference.

lapinvert avatar Feb 22 '24 08:02 lapinvert