Welcome! Log In Create A New Profile

Advanced

Re: cache static content in memory

May 28, 2009 05:26PM
On Thu, 2009-05-28 at 14:54 -0400, nfn wrote:
> Hi,
>
> I'm using nginx with apache2 + mod_php.
> Php pages are proxied to apache and nginx handles all static files (css, js, png, jpg, gif).
> I have lots of small files (forum design + smilies) ...
>
> Can nginx cache theses files in memory? How?
> If so, do I have any benefit with this approach?
> Is this faster than serving from disk?

You should read this:

http://varnish.projects.linpro.no/wiki/ArchitectNotes

It offers a good explanation of why trying to cache files in memory
(beyond what the OS already does) is usually counterproductive.

Cliff


--
http://www.google.com/search?q=vonage+sucks
Subject Author Posted

cache static content in memory

nfn May 28, 2009 02:54PM

Re: cache static content in memory

J May 28, 2009 03:37PM

Re: cache static content in memory

Cliff Wells May 28, 2009 05:26PM

Re: cache static content in memory

nfn May 29, 2009 12:47PM

Re: cache static content in memory

Igor Sysoev May 29, 2009 01:17PM

Re: cache static content in memory

nfn May 29, 2009 02:06PM

Re: cache static content in memory

Igor Sysoev May 29, 2009 02:37PM

Re: cache static content in memory

nfn May 29, 2009 04:05PM

Re: cache static content in memory

Igor Sysoev May 30, 2009 02:52AM

Re: cache static content in memory

nfn May 30, 2009 09:48AM

Re: cache static content in memory

Igor Sysoev May 30, 2009 03:20PM

Re: cache static content in memory

budala10 February 22, 2010 05:12PM

Re: cache static content in memory

Almir Karic February 22, 2010 09:42PM

Re: cache static content in memory

Ryan Malayter February 24, 2010 12:14AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 232
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready