If I were to serve files, would send_file via rails be slow?
I think they will be 200mb avi files.
Would it be better to send them via /public ?
But I would like to track the clicks on each file - which makes me think
that I can’t serve them out on /public as those clicks will not go
through my application.
Any help or suggestions?
Do a redirect or make use of the lighttpd facilities for special
downloading. Lighttpd threads very well - an FCGI doesn’t thread at
all so you will be losing a whole dispatcher until the download is
complete.
–
Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl
Any help or suggestions?
Do a redirect or make use of the lighttpd facilities for special
downloading. Lighttpd threads very well - an FCGI doesn’t thread at
all so you will be losing a whole dispatcher until the download is
complete.
–
Julian ‘Julik’ Tarkhanov
please send all personal mail to
me at julik.nl
And what if that redirected link is accidentally leaked? Is there a way
to prevent that?
And could you elaborate on what lighttpd facilities there are for
special downloading?