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

Add support for optional default headers#93

Open
camflint wants to merge 1 commit into
w3c:masterfrom
camflint:camflint/default-headers
Open

Add support for optional default headers#93
camflint wants to merge 1 commit into
w3c:masterfrom
camflint:camflint/default-headers

Conversation

@camflint

@camflint camflint commented Aug 1, 2016

Copy link
Copy Markdown

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

Ms2ger commented Feb 1, 2017

Copy link
Copy Markdown
Contributor

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