CouncilDataProject / cdp-backend

Data storage utilities and processing pipelines used by CDP instances.
https://councildataproject.org/cdp-backend
Mozilla Public License 2.0
22 stars 26 forks source link

Store a HTTPS URI in `file.uri` for files created by CDP and stored on Google cloud storage #170

Open tohuynh opened 2 years ago

tohuynh commented 2 years ago

Feature Description

A clear and concise description of the feature you're requesting. Instead of storing a gs:// URI, store a https:// URI for file.uri

Use Case

Please provide a use case to help us understand your request in context. The frontend app can't display or download gs:// URI. Because of this, there is an extra step to get the download URL from the gs:// URI which increases the load of time of some of the pages that require an https:// URI. These include the event page (URI of transcript file) and the person page (URI of the seat and person images).

Solution

Please describe your ideal solution. Use https:// URI instead of gs:// URI for file.uri. Also look into downsampling the seat and person images to reduce the load of the person page.

Alternatives

Please describe any alternatives you've considered, even if you've dismissed them.

cc @JacksonMaxfield