#24452: Staticfiles backends using HashedFilesMixin don't update CSS files' hash
when referenced media changes
-------------------------------------+-------------------------------------
     Reporter:  pmclanahan           |                    Owner:
                                     |  pmclanahan
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.staticfiles  |                  Version:  1.7
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by pmclanahan):

 I'd agree that it's a hard problem, and likely one that few if any
 projects get right. I will however say that we run into this a good bit
 and can't imagine that we're alone. We've been solving it by including a
 special comment that our css minifier knows to leave in so that we can
 cache bust the CSS file when we update images w/o touching the CSS. But
 this is obviously error prone as it's manual and requires an exhaustive
 search for references to the modified files.

--
Ticket URL: <https://code.djangoproject.com/ticket/24452#comment:11>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/068.78345f43ae3fe08da888e33615a56550%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to