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.
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
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
By mistake, this is already merged... :/ if anybody objects, go ahead and reopen.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
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
Component: Docs Platform → Editing
Product: Mozilla Developer Network → Mozilla Developer Network
You need to log in before you can comment on or make changes to this bug.