Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Continue http cache work #18676

Merged
merged 7 commits into from Nov 21, 2017
Merged

Commits on Nov 14, 2017

  1. Beginnings of a http cache

    Doom cache entries based on the initial response, and prevent matching against doomed cache enties.
    
    Evict cache entries that have passed their expiry date instead of matching them.
    
    Document the cache. Refactor incomplete entries to lessen Option-itis.
    
    Revalidate expired cache entries instead of unconditionally evicting them.
    
    Forbid missing docs in cache code.
    
    Revalidate must-revalidate entries.
    
    Fetch content tests from a local HTTP server.
    
    Track requests made to the test HTTP server.
    
    Add a simple test that a cached resource with no expiry is not revalidated. Correct inverted expiry check in revalidation code.
    
    Fix incorrect revalidation logic that dropped the consumer channels on the floor.
    
    Ensure that requests are cached based on their request headers.
    
    Run a separate http server instance for each test to avoid intermittent failures due to concurrent cache tests.
    
    Add a test for uncacheable responses.
    
    Address review comments.
    jdm authored and gterzian committed Nov 14, 2017

Commits on Nov 16, 2017

  1. more http cache work

    gterzian committed Nov 16, 2017
  2. allow unknown HTTP methods

    gterzian committed Nov 16, 2017

Commits on Nov 17, 2017

  1. also cache redirects

    gterzian committed Nov 17, 2017

Commits on Nov 19, 2017

  1. add pref to disable http cache, mozilla tests

    gterzian committed Nov 19, 2017
You can’t perform that action at this time.