You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed as part of #148 (by modifying CompressedStaticFilesMixin so that it passes quiet=False to Compressor to give more log output) that CSS files are run through the compressor multiple times:
The upstream bug only affects "adjustable files" (ie files that HashedFilesMixin has to do a second pass on, in case they cross-reference other files that have been hashed, so might need renaming with a new hash) - which currently is just *.css. However it still has a significant impact on the number of compressions performed:
I noticed as part of #148 (by modifying
CompressedStaticFilesMixin
so that it passesquiet=False
toCompressor
to give more log output) that CSS files are run through the compressor multiple times:This is due to a bug in Django's
HashedFilesMixin
, for which I've filed an upstream issue:https://code.djangoproject.com/ticket/28607
The upstream bug only affects "adjustable files" (ie files that
HashedFilesMixin
has to do a second pass on, in case they cross-reference other files that have been hashed, so might need renaming with a new hash) - which currently is just *.css. However it still has a significant impact on the number of compressions performed:Even though this is due to an upstream bug, it would be good to work around it in the meantime.
The text was updated successfully, but these errors were encountered: