Page MenuHomePhabricator

Disable/Prevent Browser Cache of Ajax-request to Special:EntityData
Closed, DuplicatePublic


The response to the request for the entity's data, i.e. the property's value, to Special:EntityData comes with a header instructing the browser to cache the response for 5 hours (18000 seconds).

Cache-Control: public, s-maxage=18000, max-age=18000

This results in the user seeing stale data if they try to edit the same property multiple times.

Event Timeline

Michael created this task.Sep 19 2019, 1:31 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 19 2019, 1:31 PM
Pablo-WMDE added a comment.EditedOct 2 2019, 5:26 PM

Apparently this was discovered in the wild now: T128486: [Story] Purge Special:EntityData JSON after edit

Restricted Application added a project: Wikidata. · View Herald TranscriptOct 2 2019, 5:26 PM