Skip to content

[SITE-2506] Add filter to adjust cache max age for specific paths #67

@pwtyler

Description

@pwtyler

Use case: adjust the cache max-age for REST API endpoints, but not the main website, without adjusting the global default.

Potential approach using rest_post_dispatch today is described in the ChatGPT conversation linked in this support topic, this could be simplified with a filter that fires after the default value is set.

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