Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- Moving cache files to memory


roycerus - 11:29 am on Apr 21, 2011 (gmt 0)


I recently bumped into a blog post where the person suggested to move the cache files to memory. My website creates cache files in html format and stores them on disk. With this method the folder is moved to memory apparently. It has significantly reduced the memory usage strangely.

Is this correct?

mount -t tmpfs -o size=1G,nr_inodes=10k,mode=0777,noatime,nodiratime tmpfs /path/to/cache/folder


Thread source:: http://www.webmasterworld.com/apache/4301801.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com