Closed
Bug 753485
Opened 13 years ago
Closed 13 years ago
kumascript: Use conditional GET in requests for Kuma documents
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
developer.mozilla.org Graveyard
Editing
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: lorchard, Assigned: lorchard)
References
Details
(Whiteboard: u=contributor c=wiki s=2012-06-05 p=2 t=2012-06-05)
After bug 753483 is done, start using conditional GET for requests to Kuma. That is: Cache Kuma response bodies along with Last-Modified / Etag. Send If-Modified-Since and If-None-Match headers with subsequent requests.
If a 304 Not Modified response happens, use cached Kuma doc source for templates and documents.
Additionally, KumaScript could choose to just skip the Kuma request altogether if there's a cached response not older than whatever the current Cache-Control: max-age directive specifies.
Assignee | ||
Updated•13 years ago
|
Whiteboard: u=contributor c=wiki
Assignee | ||
Comment 1•13 years ago
|
||
Progress, close to a PR, semi-blocked by bug 740093
Whiteboard: u=contributor c=wiki → u=contributor c=wiki s=2012-06-05 p=2
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lorchard
Assignee | ||
Comment 2•13 years ago
|
||
Crud. So, I *meant* to submit a PR for this, but instead I just merged it along with the other code I meant to help address 740093:
https://github.com/mozilla/kumascript/commit/2d377e61d01eb8ea2af64e386bbfefe90836215e
Assignee | ||
Comment 3•13 years ago
|
||
By mistake, this is already merged... :/ if anybody objects, go ahead and reopen.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Whiteboard: u=contributor c=wiki s=2012-06-05 p=2 → u=contributor c=wiki s=2012-06-05 p=2 t=2012-06-05
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Updated•12 years ago
|
Version: Kuma → unspecified
Updated•12 years ago
|
Component: Docs Platform → Editing
Updated•5 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•