#37088: path based MediaAsset equality
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Johannes
| Maron
Type: Bug | Status: assigned
Component: Forms | Version: 6.0
Severity: Normal | Resolution:
Keywords: Media MediaAsset | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Johannes Maron):
With `Stylesheet`'s `rel` being frozen now. I actually cannot think of a
use case where this would still break.
`Script` has different attributes that change when it is loaded and how it
is run. However, it doesn't change the accept headers or any other method
that would result in `path` leading to different content.
The only remote thing I can think of would be one script asset loaded
blocking the other deferred. We should then load blocking.
For `Link`-elements the `media` attribute could vary with the same path.
However, `<link … media="screen and print">` is a legal (and probably
preferable) implementation.
Once the new stylesheet object is merged, I will do a performance
benchmark. My gut feeling is that it's not worth it.
--
Ticket URL: <https://code.djangoproject.com/ticket/37088#comment:3>
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 view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019e02bc39de-0fa9c054-c6d1-4f2a-9e12-592463335a50-000000%40eu-central-1.amazonses.com.