Title: fastcgi memory cache
Last modified: June 1, 2021

---

# fastcgi memory cache

 *  Resolved [hsntgm](https://wordpress.org/support/users/hsntgm/)
 * (@hsntgm)
 * [5 years ago](https://wordpress.org/support/topic/fastcgi-memory-cache/)
 * Hello,
 * We use fastcgi server side caching. We set fastcgi cache path as /var/run so 
   basically this is memory cache setup. All the assests loading from ram cache 
   but the problem is minified/preloaded files by fvm use disk cache.
 * Thanks.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Raul P.](https://wordpress.org/support/users/alignak/)
 * (@alignak)
 * [5 years ago](https://wordpress.org/support/topic/fastcgi-memory-cache/#post-14509699)
 * Hi,
 * Fastcgi cache is for page cache, so the location doesn’t need to be public as
   long as nginx is aware if it.
 * Static files, such as the ones generated by FVM need to be publicly accessible
   over the internet, so it’s not the same thing. How would you deliver the files
   from /var/run if that directory is not publicly available (and should not be)?
 * If your disk is slow, you can always create a tmpfs partition and mount it on
   the wp-content/cache directory.
 * If you are on ubuntu, instead of /var/run you likely would want to use /dev/shm
   instead, to keep the /var/run directory free for your unix sockets (such as mysql
   for example).
 * Ex:
    [https://wp-rocket.me/blog/mount-folder-ram/](https://wp-rocket.me/blog/mount-folder-ram/)
   [https://docs.oracle.com/cd/E18752_01/html/817-5093/fscreate-99040.html](https://docs.oracle.com/cd/E18752_01/html/817-5093/fscreate-99040.html)

Viewing 1 replies (of 1 total)

The topic ‘fastcgi memory cache’ is closed to new replies.

 * ![](https://ps.w.org/fast-velocity-minify/assets/icon-128x128.jpg?rev=1440946)
 * [Fast Velocity Minify](https://wordpress.org/plugins/fast-velocity-minify/)
 * [Support Threads](https://wordpress.org/support/plugin/fast-velocity-minify/)
 * [Active Topics](https://wordpress.org/support/plugin/fast-velocity-minify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fast-velocity-minify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fast-velocity-minify/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Raul P.](https://wordpress.org/support/users/alignak/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/fastcgi-memory-cache/#post-14509699)
 * Status: resolved