Thanks for the summary, Adam!
On Tue, Feb 24, 2015 at 11:53 AM, Brian Gerstle bgerstle@wikimedia.org
- Gabriel, Marko to look into cache invalidation / freshness stuff.
Usually, for the mobile apps the latest non-stale response is what's wanted by the client.
I'd also like to add an "if-modified-since" support, so we can send GET requests but only have data sent back over the wire if it's newer than Revision X or some etag has expired, etc.
Yes, this is something we should support. We already set a versioned ETag, but don't validate If-Match requests yet. Should be easy to add. Tracked in https://phabricator.wikimedia.org/T90633.
- Apps team should engage with services on getting the mapping and other
fronting service requirements for rest.wikimedia.org deployed.
- The first target service is for something akin to what would be
required by a "Wikipedia Lite" experience, similar in terms of data transformation to OCG, Kiwix, Text Extracts.
Some pointers for content massaging:
- https://www.mediawiki.org/wiki/Parsoid/MediaWiki_DOM_spec - mwoffliner https://github.com/wikimedia/mediawiki-extensions-Collection-OfflineContentGenerator-zim_renderer/blob/6d204c7943efa2a7d03e59f988bd6ffc2903c914/lib/mwoffliner.js (part of OCG) - kiwix mwhtmldumper https://github.com/adamwight/kiwix-other/blob/b87e80631d795fa93d3374973709d8f1cee601d4/mwhtmldumper/mwhtmldumper.js
Gabriel