https://bugzilla.wikimedia.org/show_bug.cgi?id=64214

            Bug ID: 64214
           Summary: Use content hash based image / thumb URLs
           Product: MediaWiki
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: File management
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Content hash based URLs for media files and thumbnails have some advantages
over the current pretty names:

* automatic cache busting
* consistency of HTML revisions and media referenced in it, in particular in
old revisions (important for HTML storage and Parsoid)
* natural content-based deduplication
* content-based image blocking (bad image lists etc)
* media renames don't trigger HTML updates
* simplifies a potential migration of all media content to commons

There are also some disadvantages:

* need to use Content-disposition header to suggest pretty name for image
saving
* need to think about quick image purging for copyvio cases, as cache busting
is not enough there

The details of what we'd need to do for this should probably be fleshed out
on-wiki. For now I'm dropping this note here as a reminder and short summary.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to