Re:Hacker News broke our site – how Nginx and PageSpeed fixe...
by rayv on Tuesday March 24, 2015 @11:50AM
(#9257360)
But if the nginx cache path is set to a tmpfs volume then it's stored in memory and being served from memory.
[ Parent
| on HN ]
Re:Hacker News broke our site – how Nginx and PageSpeed fixe...
by falcolas on Wednesday March 25, 2015 @08:34AM
(#9262477)
On a machine with enough memory, this is an unnecessary optimization. In most use cases, Nginx will be serving a number of static assets from disk in addition to the cached files, and allowing for more memory to be used on the OS' disk cache will make the entire site more responsive.