dsv-su / play

Dev repository for Play
0 stars 1 forks source link

Move downloadable zip delivery to the storage API #110

Open booski opened 2 years ago

booski commented 2 years ago

Keeping copies of presentations in zipped format on the app server is redundant and wastes space. The storage API should be extended to provide an endpoint to download a presentation as zip, but this requires a number of changes in the interaction between the app and storage servers:

Once the metadata is available and kept current on the storage server, presentations can be exposed as zipped packages at (tentatively) /presentation/zip/.

Tokens should be used for authenticating zip requests just as with other presentation files.

orkit commented 2 years ago

I do not think this is really necessary. The risk is that there is redundant package information on both the play app and the play store. Currently, a download zip is created on demand with the current metadata and embedded in the current player. If it is a storage problem, a solution is not to save the zip file.