Skip to content

Not respecting max-age: 0 for Cache-Control #34

Description

@kingargyle

For some reason even if I put a addRequestProptery("Cache-Control", "max-age: 0") on a connection, the HttpResponseCache is always returning the cached data. If I disable the HttpResponseCache completely, then the most current data is always returned.

I checked the headers being returned using Chrome and the Response headers are setting the max-age headers with a value of zero.

Is there a way to ignore the cache during a particular connection, particularly if you are doing a put or a get with a parameter that may do updates?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions