element-hq / element-hq/synapse
Synapse uploads thumbnail data to S3
- Dominant language
- Python
- Stars
- 4.6k
- Forks
- 600
- Avg merge
- 5d 22h
- Merged PRs (30d)
- 51
Description
This issue has been migrated from [#5411](https://github.com/matrix-org/synapse/issues/5411).
---
### Description
Synapse uploads not only local media but also URL cache (including thumbnails for both local media and URL previews). It shouldn't because this data is either temporary or can be generated locally without wasting money on S3 requests and storage.
### Steps to reproduce
- enable S3 storage provider
- open the S3 bucket in AWS console
- see redundant directories like `url_cache`, `url_cache_thumbnails`, `local_thumbnails`
I expect to only have `local_content` there (optionally `remote_content` if enabled in the config).
### Version information
- **Homeserver**:
Own server
- **Version**:
0.99.2
- **Install method**:
From apt repo
- **Platform**:
Debian 9.9 amd64
Contributor guide
Assessment
This issue has not been assessed yet.