Skip to content

Add a ServiceOptions param to Services #53

Description

@jhugs

Use case: There is a need to add a Cache-Control header to a request to disable caching from the frontend. Rather than add a simple parameter such as skipCache, this could be plumbed through as an options object to allow more flexibility in the future. This would be needed on at least get and list calls to start with. Included options on the object for the caching property should follow the spec, see https://docs.microsoft.com/en-us/aspnet/core/performance/caching/response?view=aspnetcore-5.0

Activity

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

Metadata

Metadata

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