Hi, I need to serve large authenticated files (several gigabytes). I will do an API key check before the user can download a file.
What is the most efficient way to serve these out from Pyramid? Assuming I do not want to block processes or threads - is it possible? - Zope 2 used to have a sendfile ( https://www.python.org/dev/peps/pep-0333/#id36) - is there anything equivalent for waitress - Any ideas about caching the file in the frontend servers (Caddy, Cloudflare) and then just creating a short-lived HTTP redirect (<1h) to the actual target - Other ideas Cheers, Mikko -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/CAK8RCUuTG7xZ9tFf5raSmotjOWPJx31dcXyDujk4222_GDq74w%40mail.gmail.com.
