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

       Web browser: ---
            Bug ID: 54988
           Summary: Web API: Support body-only and section retrieval from
                    cache with range headers and internal range request
           Product: Parsoid
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Web API
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified
   Mobile Platform: ---

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')

-- 
You are receiving this mail because:
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