Closed
Bug 730714
Opened 13 years ago
Closed 13 years ago
kumascript: Use caching in Kuma for requests to kumascript for macro evaluation
Categories
(developer.mozilla.org Graveyard :: Editing, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.5
People
(Reporter: lorchard, Assigned: lorchard)
References
Details
(Whiteboard: u=user c=wiki p=2)
This probably deserves its own bug. To evaluate macros in documents, Kuma needs to make an HTTP request to the kumascript service. The response from this request can be cached, but we need to be smart about it.
* Cache entries need invalidation when the source wiki page is edited
* Cache entries probably need invalidation if any templates used are edited
* How long can cache entries live, assuming none of the above changes? (ie. 5 min? 60 min?)
Assignee | ||
Updated•13 years ago
|
Target Milestone: --- → 2.5
Updated•13 years ago
|
Whiteboard: u=user c=wiki p=
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → lorchard
Updated•13 years ago
|
Whiteboard: u=user c=wiki p= → u=user c=wiki p=2
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Commits pushed to mdn at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/38e803621638190d75d637d8e672bf363fc18635
bug 730714: Use caching and 304's with kumascript
* Constance-configurable default max-age for kumascript requests
* Use ETag and Last-Modified for conditional GET and locally cached
content on 304 responses.
* Kumascript cache invalidation on document edits
* Allow end-users to trigger cache invalidation with reload and
shift-reload.
* Set an X-Kumascript-Caching header that reports on the results of
kumascript caching. Can be inspected in the Web Console net log.
* kumascript update, which supports all the above.
https://github.com/mozilla/kuma/commit/5509582c3cad6d9cf90f83713289bdcaa32c0b74
Merge pull request #134 from lmorchard/bug-730714-cache-kumascript-responses
Bug 730714 cache kumascript responses
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment 3•13 years ago
|
||
Commits pushed to mdn_prod at https://github.com/mozilla/kuma
https://github.com/mozilla/kuma/commit/38e803621638190d75d637d8e672bf363fc18635
bug 730714: Use caching and 304's with kumascript
https://github.com/mozilla/kuma/commit/5509582c3cad6d9cf90f83713289bdcaa32c0b74
Merge pull request #134 from lmorchard/bug-730714-cache-kumascript-responses
Updated•12 years ago
|
Version: MDN → 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
•