- Issue created by @apereira23
- πΊπΎUruguay ruby232 Montevideo
One solution could be to generate the filename with a random name or using the timestamp.
- πΊπΎUruguay ruby232 Montevideo
@apereira23 I describe my interpretation of the problem and two possible solutions in a picture:
I prefer the last solution, but there are two problems. It always duplicates the storage usage, and the zips are always public. However, it is more efficient to create the zip when the admin saves the entity. Creating the zip is hard on the CPU and can be easily exploited if the zip is created when the user requests the file. It is better to create it beforehand.