gecko-dev/servo/resources
Gregory Terzian c949aef52f servo: Merge #18676 - Continue http cache work (from gterzian:continue_http_cache_work); r=jdm
<!-- 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. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: e2bc0f017cfd24734777f64d8607b23dbe9552d7

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 059fa41ef6c333ab9cc0adece4f431fec59a84c2
2017-11-20 18:22:06 -06:00
..
ahem
user-agent-js
Credits.rtf.mako
Servo.ico
ahem.css
android_params
badcert.html
badcert.jpg
cert-google-only
certs
failure.html
gatt_blocklist.txt
hsts_preload.json
iso-8859-8.css
itried.jpg
neterror.html
not-found.html
package-prefs.json
prefs.json servo: Merge #18676 - Continue http cache work (from gterzian:continue_http_cache_work); r=jdm 2017-11-20 18:22:06 -06:00
presentational-hints.css servo: Merge #18657 - script: Remove HTMLAppletElement (from emilio:bye-applet); r=KiChjang 2017-11-06 10:46:44 -06:00
privatekey_for_testing.key
public_domains.txt
quirks-mode.css
quotes.css
rippy.png
self_signed_certificate_for_testing.crt
servo.css servo: Merge #18951 - Wait as late as possible to assign ClipIds (from mrobinson:later-id-assignment-for-clip-scroll-nodes); r=glennw,emilio 2017-10-24 09:46:08 -05:00
servo.icns
servo.png
servo.svg servo: Merge #18695 - Add an vector version of the Servo logo (from Coder206:vectorImage); r=metajack 2017-10-19 23:11:29 -05:00
tumbeast.png
user-agent.css