Follow this tutorial to easily implement RAM disk in WordPress.
- First and foremost, there must be an installed and activated caching plugin. A good fit is WP Super Cache. This plugin will place the cache files in the following directory:
wp-content/cache
- You can then simply create the ramdisk in control panel
ATTENTION: The path should start from the root directory of your hosting account. The path should be www/wp-content/wfcache rather than wp-content/wfcache