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

Rainer Duffner rainer at
Tue Feb 14 21:45:57 UTC 2017

> Am 14.02.2017 um 22:07 schrieb Ebayer Ebayer <ebaystardust at>:
> 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 RAM to them as you see fit?
Or for the cache in your HD?

This problem has been solved, trust me (and others, and your OS).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list