servo/components
bors-servo e2bc0f017c Auto merge of #18676 - gterzian:continue_http_cache_work, r=jdm
Continue http cache work

<!-- Please describe your changes on the following line: -->

Work in progress, and not quite worth a review yet. (Continuation of https://github.com/servo/servo/pull/4117)

TODO

- [ ] cache metadata (find some subset of`net_traits::Metadata` that can be shared across threads, it seems the problem is mainly stuff inside `hyper::header` in the `headers` field)

- [ ] determine which other fields of a `Response` need to be cached, so a full and valid one can be returned upon a cache hit.

- [ ] determine how to best share the cache across fetch threads (inside HttpState like I tried now?)

- [ ] Spend more time reading the spec and make sure the cache follows it where it matters.

- [ ] Make the current wpt tests pass.

- [ ] More...

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #12972  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/18676)
<!-- Reviewable:end -->
2017-11-20 18:22:06 -06:00
..
allocator FreeType: don’t use usable_size() as deallocation size 2017-10-30 18:22:30 +01:00
atoms Use env::var_os to read paths from the environment 2017-10-20 09:03:21 -07:00
bluetooth Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
bluetooth_traits
canvas Bump image and offscreen_gl_context 2017-11-15 15:47:15 +01:00
canvas_traits Bump image and offscreen_gl_context 2017-11-15 15:47:15 +01:00
compositing Bump image and offscreen_gl_context 2017-11-15 15:47:15 +01:00
config Remove unused -t command-line flag 2017-11-10 11:46:03 -08:00
constellation Enable screen.availHeight/availWidth/Height/Width 2017-11-13 21:32:10 +01:00
debugger
deny_public_fields
devtools Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
devtools_traits Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
dom_struct Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
domobject_derive
fallible
geometry Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
gfx Upgrade to rustc 1.23.0-nightly (02004ef78 2017-11-08) 2017-11-09 16:56:39 +01:00
gfx_traits Auto merge of #18921 - mrobinson:incremental-stacking-context-ids, r=emilio 2017-10-18 21:34:23 -05:00
hashglobe Revert "Poison hashtable buffers." 2017-10-23 13:51:51 -07:00
jstraceable_derive
layout style: Remove unused argument in element_needs_traversal. 2017-11-17 16:56:26 +01:00
layout_thread style: Introduce TNode::is_in_document. 2017-11-04 11:34:37 +01:00
layout_traits
malloc_size_of Fix binding generation for overloaded functions with optionals and default values 2017-11-11 08:41:19 +01:00
malloc_size_of_derive
metrics added navigation start for interactive metrics 2017-11-14 15:21:35 +00:00
msg Bump bitflags to 1.0 in every servo crate 2017-10-30 23:36:06 +01:00
net Auto merge of #18676 - gterzian:continue_http_cache_work, r=jdm 2017-11-20 18:22:06 -06:00
net_traits Bump image and offscreen_gl_context 2017-11-15 15:47:15 +01:00
nonzero
profile added time to interactive metrics, refactored metrics to use traits 2017-10-24 21:02:56 +01:00
profile_traits added time to interactive metrics, refactored metrics to use traits 2017-10-24 21:02:56 +01:00
rand
range Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
remutex
script Auto merge of #18676 - gterzian:continue_http_cache_work, r=jdm 2017-11-20 18:22:06 -06:00
script_layout_interface changed f64 to u64 for navigation start timing until it had to be float 2017-11-01 20:45:22 +00:00
script_plugins Make the unrooted_must_root conditional on a default Cargo feature. 2017-11-02 15:08:04 +01:00
script_traits Enable screen.availHeight/availWidth/Height/Width 2017-11-13 21:32:10 +01:00
selectors selectors: Allow white space in the brackets of an attribute selector. 2017-11-18 14:47:33 +08:00
servo Enable screen.availHeight/availWidth/Height/Width 2017-11-13 21:32:10 +01:00
servo_arc Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
size_of_test
style Auto merge of #19297 - emilio:hidden-props, r=upsuper 2017-11-20 15:58:46 -06:00
style_derive style: Remove mozmm CSS unit. 2017-11-14 14:25:40 +01:00
style_traits style: Document css(iterable) and css(dimension). 2017-11-12 16:25:02 +01:00
url Replace all uses of the heapsize crate with malloc_size_of. 2017-10-18 22:20:37 +11:00
webdriver_server Bump image and offscreen_gl_context 2017-11-15 15:47:15 +01:00
webvr
webvr_traits