Page MenuHomePhabricator

Add appropriate Cache-Control headers to "ipinfo" API responses
Closed, DuplicatePublic

Description

Problem
The API requests are not being cached in a public cache (i.e. Varnish) or a private cache (the browser).

Proposed Solution
Add an appropriate Cache-Control header to the API responses. This header may need to be dynamic depending if the current user isRegistered() or not.

Event Timeline

Krinkle renamed this task from Add appropriate Cache-Control headers to API responses to Add appropriate Cache-Control headers to ipinfo API responses.Apr 2 2021, 7:43 PM
Krinkle renamed this task from Add appropriate Cache-Control headers to ipinfo API responses to Add appropriate Cache-Control headers to "ipinfo" API responses.