Page MenuHomePhabricator

Account for redirects in module versioning for ResourceLoaderWikiModule
Closed, DuplicatePublic

Description

In https://gerrit.wikimedia.org/r/#/c/269901/ ResourceLoaderWikiModule is modified to follow redirects for JavaScript/CSS in modules. However, cache invalidation is still based on the original page, and doesn't take redirects into account.

We should extend that patch so that cache invalidation for modules takes redirects into account.

Event Timeline

kaldari created this task.Apr 7 2016, 6:04 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 7 2016, 6:04 PM
kaldari triaged this task as Medium priority.Apr 7 2016, 6:05 PM
kaldari moved this task from New & TBD Tickets to Bug backlog on the Community-Tech board.
kaldari added a project: Gadgets-2.0.

Putting this in Blocked column since I need some help navigating the cache invalidation code for modules (which is rather complicated).

Krinkle renamed this task from Have cache invalidation for modules in ResourceLoader take redirects into account to Module versioning for ResourceLoaderWikiModule should account for redirects.Apr 19 2016, 1:27 AM
Krinkle renamed this task from Module versioning for ResourceLoaderWikiModule should account for redirects to Account for redirects in module versioning for ResourceLoaderWikiModule.
Krinkle claimed this task.Mar 15 2017, 2:04 AM
Krinkle added a project: Performance-Team.
Krinkle moved this task from Backlog to Assigned on the MediaWiki-ResourceLoader board.
Krinkle moved this task from Inbox to Radar on the Performance-Team board.