cache large static files in memory

Gabriel Ramuglia gabe at vtunnel.com
Wed Jun 24 09:53:21 MSD 2009


The linux file system will cache recently or frequently used files in
memory regardless, and the effect is similar in performance to an
application level cache. A separate application level cache would not
necessarily be desirable since the file system cache would largely
have the same items in it anyway; storing them again in an application
level memory cache would simply leave less total memory available to
file caching or other uses.

On Tue, Jun 23, 2009 at 10:00 PM, Hua Su<huas.su at gmail.com> wrote:
> Hi all,
> Does nginx support to cache static files in memory if it finds several large
> files are requested frequently? If yes, how to control the cache? If not, is
> there any simple way to implement a similar function?
> --
> Hua Su





More information about the nginx mailing list