-
Notifications
You must be signed in to change notification settings - Fork 73
Caching
Joakim Skoog edited this page Jan 24, 2024
·
1 revision
Apart from the standard cache headers such as max-age we also provide a few different ways to ease the load on our servers and your client. Each API response includes the ETag-header and the Last-Modified header. These headers can be used to ask our server if the data has changed or not. If the data has not changed you will receive an empty response body with a 304 Not Modified. If the data has changed you will receive a 200 with the updated data.
If-None-Match: "your_etag_here"
If-Modified-Since: "date_here"