Skip to content

RequestCache "reload" type must also set no-cache headers #201

@ehsan

Description

@ehsan

For reload, I think the UA needs to set the correct headers to signal to HTTP proxies that the request should not be served from cache. Gecko does the following in this case:

  • It sets the Pragma: no-cache request header.
  • If the protocol is HTTP >= 1.1, it also sets the Cache-Control: no-cache request header.

I think this needs to be spec'ed, since otherwise an HTTP cache along the way will break the contract of the fetch API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions