I have a Wordpress site which uses a file cache to store various object information.
Now I would like the time to access the data in the cache to be much shorter, and I have heard various people on the net suggesting that it would be a good idea to mount the cache so that the data is stored in memory. Specifically, they have suggested using
tmpfs for this.
I attempted to do this by running the following command:
mount -t tmpfs -o size=128 tmpfs /home/myaccount/mycache
But I observe that this does not seem to significantly improve page load times. Is there a way I can check that the data in the cache is definitely being accessed from memory? Or this there a reason that the cache may seem not to be having an effect?