Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Rainer Duffner
> Am 14.02.2017 um 22:07 schrieb Ebayer Ebayer : > > I want to cache critical files indefinitely regardless of them being hot or > stale until they're purged (by the app). > If you have enough RAM, they will stay cached. Do you also want to do the memory-management of your apps, allocating

Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Francis Daly
On Tue, Feb 14, 2017 at 09:07:46PM +, Ebayer Ebayer wrote: Hi there, > I want to cache critical files indefinitely regardless of them being hot or > stale until they're purged (by the app). It still doesn't sound like a task for nginx to me. If you want your OS file-cache to do busy-work to

Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Ebayer Ebayer
I want to cache critical files indefinitely regardless of them being hot or stale until they're purged (by the app). Thanks On Feb 15, 2017 4:30 AM, "Rainer Duffner" wrote: Am 14.02.2017 um 21:25 schrieb Ebayer Ebayer : Is there a more deterministic way besides fully trusting the MMU? I reall

Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Rainer Duffner
> Am 14.02.2017 um 21:25 schrieb Ebayer Ebayer : > > Is there a more deterministic way besides fully trusting the MMU? I really > don't think the MMU will execute well on what I'm setting to accomplish. Some > more info: > > * I run Linux 2.6.32 (RH's) > > * I don't trust /dev/shm as a memory

Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Ebayer Ebayer
Is there a more deterministic way besides fully trusting the MMU? I really don't think the MMU will execute well on what I'm setting to accomplish. Some more info: * I run Linux 2.6.32 (RH's) * I don't trust /dev/shm as a memory store * I want the kernel to keep files cached for a pre determined

Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Rainer Duffner
> Am 14.02.2017 um 20:10 schrieb Ebayer Ebayer : > > Hi, > > I have Nginx running as a webserver (not as proxy). I need to cache static > files that are under /var/www/html/images in memory. What's the simplest way > to do this? Your OS does that for you. That’s why it does not make sense

Re: How to cache static files under root /var/www/html/images

2017-02-14 Thread Francis Daly
On Tue, Feb 14, 2017 at 07:10:13PM +, Ebayer Ebayer wrote: Hi there, > I have Nginx running as a webserver (not as proxy). I need to cache static > files that are under /var/www/html/images in memory. What's the simplest > way to do this? Don't do anything special in nginx. Make sure that y

How to cache static files under root /var/www/html/images

2017-02-14 Thread Ebayer Ebayer
Hi, I have Nginx running as a webserver (not as proxy). I need to cache static files that are under /var/www/html/images in memory. What's the simplest way to do this? Thank you ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis