Skip to content

Detect Geoserver errors returned as 200 and don't cache them #53

@kring

Description

@kring

Geoserver has a bad habit of returning errors using HTTP status code 200. This causes our proxy to put long-expiration cache headers on the response, and then Varnish and end-user browsers cache these errors for a long time. This impedes our ability to fix such problems.

The proxy should detect Geoserver errors and set them to no-cache. We should also consider whether it makes sense to shift to a more sensible error code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions