whitenoise icon indicating copy to clipboard operation
whitenoise copied to clipboard

Add compress skip patterns from settings

Open PetrDlouhy opened this issue 2 years ago • 2 comments

This combines both approaches to skipping files mentioned in #279:

  • Skip based on regexp patterns defined by WHITENOISE_SKIP_REGEX settings (--skip-regexp parameter)
  • Make the compressor class interchangable by WHITENOISE_COMPRESSOR_CLASS settings (--compressor-class parameter)

@luciddan @merwok Please take a look at this. If everything is OK, I will add documentation for the new parameters/settings.

PetrDlouhy avatar Dec 16 '21 17:12 PetrDlouhy