Skip to content

Caching based on response status #741

Description

@nurhat

Hi,
An endpoint with caching enabled caches output even if downstream request returns anything other than httpstatus code with 200. Is it by design, or a bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    CachingOcelot feature: CachingSummer'26Summer 2026 releaseacceptedBug or feature would be accepted as a PR or is being worked onfeatureA new featureproposalProposal for a new functionality in Ocelot

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions