Cahed in memory

Hi all,

I have followed the instructions here to cache in memory.

The problem I have is that I put in the wrong cache URL and it now has /cache/cache/ on the end and clearly doesn’t work.

How can I reverse the memory cache as detailed in the instructions and start again?

Thanks

William

OK, I managed to remove the mount by following these instructions: https://www.reddit.com/r/linuxquestions/comments/5enwfp/remove_a_rambased_tmpfs_partition/

I’ve now gone through the guide again and setup a mount properly, but the pages are still getting cached to disc.

I now have the following in /etc/fstab.

Would the source message on a cached page tell you it’s cached in memory?

/etc/fstab

/dev/mapper/centos_457845-swap swap swap defaults 0 0
tmpfs sftp://00.00.00.00//home/xxx.co/public_html/xxx/wp-content/cache/comet-cache/cache tmpfs defaults,size=512M 0 0