mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 11:34:09 +01:00
Mention caching
This commit is contained in:
parent
290e6a2877
commit
bc93c9a93c
|
|
@ -52,6 +52,11 @@ paths:
|
||||||
can be retrieved. The URL at `Location` SHOULD have appropriate
|
can be retrieved. The URL at `Location` SHOULD have appropriate
|
||||||
`Content-Type` and `Content-Disposition` headers which describe
|
`Content-Type` and `Content-Disposition` headers which describe
|
||||||
the media.
|
the media.
|
||||||
|
|
||||||
|
When `Location` is present, servers SHOULD NOT cache the URL.
|
||||||
|
The remote server may have applied time limits on its validity.
|
||||||
|
If the caller requires an up-to-date URL, it SHOULD re-request
|
||||||
|
the media download.
|
||||||
"429":
|
"429":
|
||||||
$ref: '#/components/responses/rateLimited'
|
$ref: '#/components/responses/rateLimited'
|
||||||
"502":
|
"502":
|
||||||
|
|
@ -165,6 +170,11 @@ paths:
|
||||||
`Content-Type` and `Content-Disposition` headers which describe
|
`Content-Type` and `Content-Disposition` headers which describe
|
||||||
the media.
|
the media.
|
||||||
|
|
||||||
|
When `Location` is present, servers SHOULD NOT cache the URL.
|
||||||
|
The remote server may have applied time limits on its validity.
|
||||||
|
If the caller requires an up-to-date URL, it SHOULD re-request
|
||||||
|
the media download.
|
||||||
|
|
||||||
{{% boxes/note %}}
|
{{% boxes/note %}}
|
||||||
The `Content-Type` for the second part SHOULD be one of:
|
The `Content-Type` for the second part SHOULD be one of:
|
||||||
* `image/png` (possibly of the APNG variety)
|
* `image/png` (possibly of the APNG variety)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue