Serving static file dynamically ...
Marcus Clyne
eugaia at gmail.com
Tue Mar 24 23:55:51 MSK 2009
Michael Shadle wrote:
> not to mention that this is only useful if the OP is storing files in
> the database to begin with, I believe.
>
> if it's filesystem, then X-Accel-Redirect is the way to go.
>
Yes, if the filesystem is the storage mechanism, then I'd agree. If you
have a very large number of files, though, storing them in the DB can be
more efficient than using the filesystem (depending on platform, file
number, directory hierarchy etc).
Marcus.
More information about the nginx
mailing list