Closed karenetheridge closed 5 years ago
GET /schema/* are the prime candidates for this. Include Last-Modified in the response.
GET /schema/*
Last-Modified
nginx then needs to be configured to use the headers to cache the results so the api isn't hit all the time.
Also handle If-Modified-Since, If-Unmodified-Since in the request headers to return 304 rather than computing the response.
If-Modified-Since
If-Unmodified-Since
GET /schema/*
are the prime candidates for this. IncludeLast-Modified
in the response.nginx then needs to be configured to use the headers to cache the results so the api isn't hit all the time.
Also handle
If-Modified-Since
,If-Unmodified-Since
in the request headers to return 304 rather than computing the response.