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

Rainer Duffner rainer at ultra-secure.de
Tue Feb 14 20:30:32 UTC 2017


> Am 14.02.2017 um 21:25 schrieb Ebayer Ebayer <ebaystardust at gmail.com>:
> 
> 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 length of time Xmns
> 
> * Don't want to think too hard about how the MMU evicts pages and how that affects caching exactly



You are overthinking this problem.

Get a better OS if you don’t trust your current one.


How large is your dataset? How much of that is „hot“?
What’s your specific use-case?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20170214/2eb6f40a/attachment.html>


More information about the nginx mailing list