Skip to content

Specify Cache duration by URL param? #1

@seanmavley

Description

@seanmavley

the config yaml sets for all endpoints using the rspc=1 param

is there an option to specify the duration via a param too? say, rspc=1&rspcDuration=200

Use case is, when I want all pages cached 60 seconds, but just one page cached for a week.

Case in point is this link preview url endpoint, which I would want cached for as long as possible

https://github.com/seanmavley/CockpitLinkPreview

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