Skip to content

Add nginx cache of 1 minute to all GET API calls #1963

@bwbroersma

Description

@bwbroersma

Add proxy_cache, change default proxy_cache_key $scheme$proxy_host$request_uri; to include $remote_user.
Probably set proxy_cache_valid any 1m; to cache all (could only set 200 to 1m and errors shorter).
Add add_header X-Cache-Status $upstream_cache_status;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions