Last modified: 2013-10-08 11:32:48 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T56988, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 54988 - Web API: Support body-only and section retrieval from cache with range headers and internal range request
Web API: Support body-only and section retrieval from cache with range header...
Status: NEW
Product: Parsoid
Classification: Unclassified
Web API (Other open bugs)
unspecified
All All
: Normal normal
: ---
Assigned To: Gabriel Wicke
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-10-04 18:24 UTC by Gabriel Wicke
Modified: 2013-10-08 11:32 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Gabriel Wicke 2013-10-04 18:24:35 UTC
For ESI and some mobile use cases (first section retrieval) we need to be able to return just the body or even just the first section of the body from the cache. Range requests can be used to do this while sharing the same cache entry. To avoid a need for the client to know the ranges, we can set headers on our content that indicate those ranges. In Varnish, we can then simulate a range request internally with the offsets from those headers. This can be triggered with a special request header. ESI might indicate sub-requests in headers already. Mobile would need to set another header explicitly. 

Possible header:

Range: part=firstsection

(compare normal range requests with 'Range: bytes=1-5')
Comment 1 Yuvi Panda 2013-10-04 18:26:40 UTC
Would be incredibly useful for mobile apps!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links