I was googling around, and I found out that /dev/shm is a tmpfs folder, which is like a RAMdisk.

What I'm doing is running a server that runs off a CompactFlash card using Debian 4.0r5, and Apache + MySQL will store their data in RAM. Every so many (15-30) minutes, a script that i'm writing will sync the data in the RAMdrive onto a USB Stick of mine.

Now, I'm confused. I want to make a folder to store my www data in the RAM, so www requests are served really fast. I'm not sure how to do it via mount.

Do I use mount, or make a www folder in /dev/shm?