Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

Add support for optional default headers #93

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

camflint
Copy link

@camflint camflint commented Aug 1, 2016

This change adds a new "default_headers" configuration element.

    "default_headers": [
        ["Cache-Control", "no-cache, no-store"],
        ["Pragma", "no-cache"]
    ],

The work being done here is merely to pass-thru the "default_headers" setting to wptserve. A modification to wptserve to read the new setting is pending on w3c/wptserve#88. From that pull request's description:

Default headers are useful in setting the default cache policy for wptserve when serving test files for Internet Explorer and Edge in dev and test environments, so that test files are not inadvertently cached between runs. This prevents "F5-refresh" headaches when a developer makes changes to the tests locally, and prevents leftover state on shared machines (which may need to run multiple versions of the tests) from affecting subsequent test runs.


This change is Reviewable

@gsnedders gsnedders requested review from Ms2ger and jgraham February 1, 2017 00:30
@Ms2ger Ms2ger removed their request for review February 1, 2017 10:09
@Ms2ger
Copy link
Contributor

Ms2ger commented Feb 1, 2017

This is blocked on a decision in w3c/wptserve#88

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants