Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:common_installation:advanced [2017/12/21 19:50]
Jackson Zhang [Cache Policy Settings]
litespeed_wiki:cache:common_installation:advanced [2017/12/21 19:59]
Jackson Zhang [Setting Cache Root to a RAM Disk]
Line 8: Line 8:
 </​code>​ </​code>​
  
-**Note:** Be careful not to use the same cache directory for two accounts as this is likely to cause trouble. +**Note1:** Be careful not to use the same cache directory for two accounts as this is likely to cause trouble.  
 +**Note2:** There is not much benefit to setup cache root to RAM disk hence usually not recommended.  ​
 ==== Setting Virtual Host Cache Root Using Variables ==== ==== Setting Virtual Host Cache Root Using Variables ====
 LiteSpeed Web Server supports variables in the Virtual Host cache root configuration when using an Apache configuration file. For example: LiteSpeed Web Server supports variables in the Virtual Host cache root configuration when using an Apache configuration file. For example:
Line 38: Line 38:
  
 ==== Cache Manager files ==== ==== Cache Manager files ====
-LiteSpeed ​uses cache manager ​files: ​''​.cachemanidx.lock''​ and ''​.cachemanidx.shm''​ to manage caches. ​By default, ​it will be set to RAM disk under ''/​dev/​shm/​lsws/''​. RAM disk can speed up the cache management. ​  +LiteSpeed ​replies on file manager ​to manage caches. ​ LiteSpeed uses ''​.cachemanidx.lock''​ and ''​.cachemanidx.shm''​ to manage caches. 
 + 
 +There is no special configuration required from user's side but a knowledge only: by default, ​they will be set to RAM disk under ''/​dev/​shm/​lsws/''​. RAM disk can speed up the cache management. ​  
  
-For server level or virtual host level of cache root, normally SSD is good enough.  You should NOT use any normal hard disk. SSD is a must for your site performance.+For server level or virtual host level of cache root, normally ​store the actually cached files, ​SSD is good and recommended.  You should NOT use any normal hard disk. SSD is a must for your site performance. While setup such cache storage to RAM disk is normally not necessary and not much benefit either, hence not recommended.
  • Admin
  • Last modified: 2021/02/11 18:45
  • by Lisa Clarke